Expand description
The Bit Packed Decoder. As a difference to the Versioned Decoder, the fields are not tagged.
Functionsยง
- byte_align 
- Takes the remainder of bits in the current input to align the input to a byte boundary.
- parse_bool 
- Reads a single bit and transforms into a bool.
- parse_packed_ int 
- Reads a packed int, In offset binary representation, (also called excess-K or biased). a signed number is represented by the bit pattern corresponding to the unsigned number plus K, with K being the biasing value or offset.
- rtake_n_ bits 
- Takes n bits from the input bytes. The bits are taken counting from right to left. It returns the original input as if had not been processed. The caller must call the normal take process afterwards.
- take_bit_ array 
- Takes n total bits from the current u8 slice at the current offset and transforms the data into
a Vec<u8>
- take_fourcc 
- Takes 4 unaligned bytes
- take_n_ bits_ into_ i64 
- Takes n total bits from the current u8 slice at the current offset and transforms the data into an u64, this works with Big Endian
- take_null 
- Just a function that would be called when a null is needed, this is for debugging purposes
- take_unaligned_ byte 
- Takes 1 unaligned bytes