Skip to main content

pack_bitmask

Function pack_bitmask 

Source
pub fn pack_bitmask(bitmask: &[u8]) -> Vec<u8> 
Expand description

Pack a bitmask array (one byte per bit, 0 or 1) into packed bytes (LSB first).