mirror of
https://github.com/hanzoai/zap-es.git
synced 2026-11-03 04:35:49 +00:00
13 lines
239 B
Plaintext
13 lines
239 B
Plaintext
# Based on https://github.com/jdiaz5513/capnp-ts (MIT - Julián Díaz)
|
|
|
|
@0xbba26a2caa3411e8;
|
|
|
|
interface HashFactory {
|
|
newSha1 @0 () -> (hash :Hash);
|
|
}
|
|
|
|
interface Hash {
|
|
write @0 (data :Data) -> ();
|
|
sum @1 () -> (hash :Data);
|
|
}
|