[][src]Module lrl_test_compiler::bits

Structs

BitReader

BitReader is a data structure for reading bit sized data from a sequence of bytes

BitWriter

BitWriter is a data structure for appending bit sized data to a sequence of bytes

Constants

LEFT_MASK_U8

A collection of masks containing left-aligned ones. Each index represents the number of bits kept from the left.

MAX_3BIT
MAX_4BIT
MAX_7BIT
MAX_10BIT
MAX_11BIT
MAX_12BIT
MAX_20BIT
RIGHT_MASK_U8

A collection of masks containing right-aligned ones. Each index represents the number of bits kept from the right

Traits

BitSource

A BitSource is something that can have bits read from it