Skip to main content

bitmap_set_bit

Function bitmap_set_bit 

Source
pub fn bitmap_set_bit(data: &mut [u8], index: u64)
Expand description

Set the bit at index in a mutable bitmap (little-endian bit order).

Panics if index is out of range for the data slice.