Skip to main content

write_bitmap

Function write_bitmap 

Source
pub fn write_bitmap(bitmap: &mut [u8], active_bits: &[u16]) -> u8
Expand description

Writes the specific bits in bitmap, given the indices of the bits Return the “length” of the newly constructed bitmap