[][src]Module zebra_chain::serialization

Consensus-critical serialization.

This module contains four traits: ZcashSerialize and ZcashDeserialize, analogs of the Serde Serialize and Deserialize traits but intended for consensus-critical Zcash serialization formats, and WriteZcashExt and ReadZcashExt, extension traits for io::Read and io::Write with utility functions for reading and writing data (e.g., the Bitcoin variable-integer format).

Modules

sha256d

SHA256d, a.k.a., double SHA2, a.k.a., 2 SHA 2 Furious

Enums

SerializationError

A serialization error.

Traits

ReadZcashExt

Extends Read with methods for writing Zcash/Bitcoin types.

WriteZcashExt

Extends Write with methods for writing Zcash/Bitcoin types.

ZcashDeserialize

Consensus-critical serialization for Zcash.

ZcashDeserializeInto

Helper for deserializing more succinctly via type inference

ZcashSerialize

Consensus-critical serialization for Zcash.