pub fn unpack(data: &[u8], bits: u32, count: usize, out: &mut Vec<u32>)Expand description
Unpack count unsigned codes of bits width from a byte stream.
Stops early if the data is exhausted before count codes are extracted.
For 8-bit codes, reads bytes directly without bit accumulation.