Module scale_bits::dynamic
source · [−]Expand description
Ths module allows Bits
to be dynamically encoded and decoded into/from a given
Format
. The Format
can either be provided manually, or extracted from
scale_info
type information.
Structs
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 StoreType
.
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.