mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
book/zkas/bincode: Add note on variable-integer encoding.
This commit is contained in:
@@ -35,6 +35,10 @@ OPCODE ARG_NUM STACK_INDEX ... STACK_INDEX
|
||||
TBD
|
||||
```
|
||||
|
||||
Integers in the binary are encoded using variable-integer encoding.
|
||||
See [`serial.rs`](../../../src/util/serial.rs) for our Rust
|
||||
implementation.
|
||||
|
||||
## `MAGIC_BYTES`
|
||||
|
||||
The magic bytes are the file signature consisting of four bytes used
|
||||
|
||||
Reference in New Issue
Block a user