Crate darkfi_serialsource ·
Encodings for external crates
Encode a dynamic set of arguments to a buffer.
Data which can be decoded in a consensus-consistent way.
Data which can be encoded in a consensus-consistent way.
Readto decode data as per Bitcoin consensus.
Writeto encode data as per Bitcoin consensus.
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.