Implements a serialization and deserialization codec for simple marshalling.
Compact-encoded variant of T. This is more space-efficient but less compute-efficient.
Trait that allows zero-copy read/write of value-references to/from slices in LE format.
Allow foreign structs to be wrap in Compact
Trait that allows zero-copy read of value-references from slices in LE format.
Trait that allows zero-copy write of value-references to slices in LE format.
Implementations should override
Trait that allows to append items to an encoded representation without decoding all previous added items.
Something that can be encoded as a reference.
Trait that tells you if a given type can be encoded/decoded in a compact way.
Trait that allows reading of data into a slice.
Trait to allow itself to be serialised into a value which can be extended by bytes.
Trait to allow itself to be serialised and prepended by a given slice.
Trait that allows writing of data.