Skip to main content

bits_to_bytes

Function bits_to_bytes 

Source
pub fn bits_to_bytes(bits: &[bool]) -> Vec<i64>
Expand description

Pack an LSB-first bit sequence back into bytes (the inverse of bytes_to_bits); a trailing partial group is zero-padded.