pub fn create_bit_reader(
data: &[u8],
bit_order: BitOrder,
) -> BitReaderContainer<'_>
Expand description
Creates a BitReaderContainer
instance based on the given BitOrder
.
§Arguments
data
- The data to create the bit reader from.bit_order
- The endianness of the bit stream.
§Returns
A BitReaderContainer
instance with the specified endianness.