Expand description
Converting Zcash consensus-critical data structures into bytes.
Structs§
- Fake
Writer - A fake writer helper used to get object lengths without allocating RAM.
Constants§
- MAX_
PROTOCOL_ MESSAGE_ LEN - The maximum length of a Zcash message, in bytes.
Traits§
- Zcash
Serialize - Consensus-critical serialization for Zcash.
Functions§
- zcash_
serialize_ bytes - Serialize a byte vector as a CompactSize number of items, then the items.
- zcash_
serialize_ bytes_ external_ count - Serialize a raw byte
Vec
without writing the number of items as a CompactSize. - zcash_
serialize_ empty_ list - Serialize an empty list of items, by writing a zero CompactSize length. (And no items.)
- zcash_
serialize_ external_ count - Serialize a typed
Vec
without writing the number of items as a CompactSize.