Module bits

Module bits 

Source

Structs§

Bits
BitVec implementation based on bytes slice.
BitsOwned
An owned representation of a bit path, compatible with Bits serialization. Internally stores bits normalized to start at position 0. Tracks the original offset for correct serialization.

Functions§

append_normalized 🔒
Append normalized bits from src to dst at bit position dst_len
extract_normalized 🔒
Extract bits from a Bits into a normalized Vec<u8> (starting at bit 0)
merge_owned_and_bits
Merge a BitsOwned with a Bits, appending b’s bits after a’s.