pub fn set_bit(data: &mut [u8], i: usize, value: bool)
Sets bit at position i in data
i
data
panics if i >= data.len() / 8
i >= data.len() / 8