pub fn set_bit(bytes: &mut [u8], i: usize, value: bool)
Sets bit at position i in bytes.
i
bytes
This function panics iff i >= bytes.len() * 8.
i >= bytes.len() * 8