pub fn get_bit(bytes: &[u8], i: usize) -> bool
Expand description

Returns whether bit at position i in data is set

Panic

This function panics iff i / 8 >= bytes.len()