fn bit_range(bytes: &[u8], start: usize, end: usize) -> u64
The value of bits start..end of bytes, least significant bit first.
start..end
bytes