Crate parity_codec[−][src]
Implements a serialization and deserialization codec for simple marshalling.
Modules
alloc |
Structs
Compact |
Compact-encoded variant of T. This is more space-efficient but less compute-efficient. |
Traits
Codec |
Trait that allows zero-copy read/write of value-references to/from slices in LE format. |
Decode |
Trait that allows zero-copy read of value-references from slices in LE format. |
Encode |
Trait that allows zero-copy write of value-references to slices in LE format.
Implementations should override |
HasCompact |
Trait that tells you if a given type can be encoded/decoded as |
Input |
Trait that allows reading of data into a slice. |
Joiner |
Trait to allow itself to be serialised into a value which can be extended by bytes. |
KeyedVec |
Trait to allow itself to be serialised and prepended by a given slice. |
Output |
Trait that allows writing of data. |