Module bits

Source
Expand description

Bit level parsers

Constantsยง

BYTE ๐Ÿ”’
Number of bits in a byte

Functionsยง

bits
Converts a byte-level input to a bit-level input
bool
Parses one specific bit as a bool.
bytes
Convert a bits stream back into a byte stream
pattern
Parse taking count bits and comparing them to pattern
take
Parse taking count bits
take_ ๐Ÿ”’