Module snarkvm_utilities::serialize [−][src]
Re-exports
Modules
Traits, helpers, and type definitions for core I/O functionality.
Structs
Flags to be encoded into the serialization.
A contiguous growable array type, written as Vec<T>
and pronounced ‘vector’.
Enums
Flags to be encoded into the serialization. The default flags (empty) should not change the binary representation.
Flags to be encoded into the serialization. The default flags (empty) should not change the binary representation.
Traits
Deserializer in little endian format.
This trait can be derived if all fields of a struct implement
CanonicalDeserialize
and the derive
feature is enabled.
Deserializer in little endian format allowing flags to be encoded.
Serializer in little endian format.
This trait can be derived if all fields of a struct implement
CanonicalSerialize
and the derive
feature is enabled.
Serializer in little endian format allowing to encode flags.
Helper trait to get serialized size for constant sized structs.
Serialization flags.
The Read
trait allows for reading bytes from a source.
A trait for objects which are byte-oriented sinks.
Functions
Return the number of (byte-aligned) bits and bytes required to represent the given number of bits.
Return the number of bytes required to represent the given number of bits.