Crate darkfi_serial
source ·Macros
- Encode a dynamic set of arguments to a buffer.
Structs
- Variable-integer encoding
Traits
- Data which can be decoded in a consensus-consistent way.
- Data which can be encoded in a consensus-consistent way.
- Extensions of
Read
to decode data as per Bitcoin consensus. - Extensions of
Write
to encode data as per Bitcoin consensus.
Functions
- Deserialize an object from a vector. Will error if said deserialization doesn’t consume the entire vector.
- Deserialize an object from a vector, but do not error if the entire vector is not consumed.
- Encode an object into a vector.