Skip to main content

Module bits

Module bits 

Source
Expand description

LSB-first bit packing shared by the encoder, decoder and wire primitives.

Enums§

BitsError
Errors from reading or writing bit fields.

Functions§

read_bits
Read width bits from buf starting at bit bit_pos.
write_bits
Write the low width bits of value into buf starting at bit bit_pos.