Module zebra_chain::serialization::zcash_serialize
source · Expand description
Converting Zcash consensus-critical data structures into bytes.
Structs§
- A fake writer helper used to get object lengths without allocating RAM.
Constants§
- The maximum length of a Zcash message, in bytes.
Traits§
- Consensus-critical serialization for Zcash.
Functions§
- Serialize a byte vector as a CompactSize number of items, then the items.
- Serialize a raw byte
Vec
without writing the number of items as a CompactSize. - Serialize an empty list of items, by writing a zero CompactSize length. (And no items.)
- Serialize a typed
Vec
without writing the number of items as a CompactSize.