Module scale_bits::scale::format

source ·
Expand description

Ths module defines a Format, which is basically a StoreFormat and an OrderFormat and describes the different possible wire formats of a bit sequence.

Structs

  • A description of the format used to SCALE encode some bits.

Enums

  • An error that can occur when we try to encode or decode to a SCALE bit sequence type.
  • This is a runtime representation of the order that bits will be written to the specified StoreFormat.
  • This is a runtime representation of the store type that we’re targeting. These are equivalent to the bitvec store types u8, u16 and so on.