Crate darkfi_serial
Source - encode_payload
- Encode a dynamic set of arguments to a buffer.
- VarInt
- Variable-integer encoding.
- Decodable
- Data which can be decoded in a consensus-consistent way.
- Encodable
- Data which can be encoded in a consensus-consistent way.
- ReadExt
- Extensions of
Read
to decode data as per Bitcoin consensus. - WriteExt
- Extensions of
Write
to encode data as per Bitcoin consensus.
- deserialize
- Deserialize an object from a vector.
Will error if said deserialization doesn’t consume the entire vector.
- deserialize_partial
- Deserialize an object from a vector, but do not error if the entire
vector is not consumed.
- serialize
- Encode an object into a vector.
- SerialDecodable
- SerialEncodable