pub fn create_bit_writer_with_owned_data(
data: &[u8],
bit_order: BitOrder,
) -> BitWriterContainerExpand description
Creates a BitWriterContainer instance based on the given BitOrder.
This copies the supplied data into a new buffer, which is then owned by the container.
§Arguments
data- The data to create the bit reader from.bit_order- The endianness of the bit stream.
§Returns
A BitWriterContainer instance with the specified endianness.