pub fn get_bit(buf: &[u8], index: usize) -> bool
Get the bit value at index out of buf.
index
buf
Panics if index is not between 0 and length of buf * 8.
buf * 8