scale-bits · CI Status Latest Version on Crates.io Released API docs

This crate provides the Bits type; a drop-in, SCALE-compatible replacement for BitVec<u8, Lsb0> which can also be encoded-to and decoded-from various store and order types at runtime (Lsb0 and Msb0 orderings, and u8, u16 and u32 store types), allowing for dynamic encoding and decoding based on scale-info metadata.