Module csf::coding

source ·
Expand description

Encoding of values of any type to/from a sequence of code words of fixed bit length.

Re-exports§

Structs§

Enums§

  • Result of fragment decoding returned be consume method of Decoder.

Traits§

  • Coding builder.
  • A bijection between values and codewords. Codewords are sequences of fragments. Each fragment occupies constant number of bits.
  • Decoder that decodes a value for codeword given fragment by fragment.
  • Codings that implement SerializableCoding can be serialized/deserialized.