Expand description
Codec module re-exporting parity-scale-codec traits
Structs§
- Compact
- Compact-encoded variant of T. This is more space-efficient but less compute-efficient.
Traits§
- Codec
- Codec trait combining Encode and Decode (re-exported from parity-scale-codec)
- 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.
- Input
- Trait that allows reading of data into a slice.
Functions§
- decode_
compact_ u32 - Decode a compact u32 (using parity-scale-codec)
- encode_
compact_ u32 - Encode a compact u32 (using parity-scale-codec)