bitstream_reader

Reading bit sequences from a byte slice in rust

Example

```rust use bitstream_reader::{BitBuffer, LittleEndian};

let bytes: &[u8] = &[ 0b10110101, 0b01101010, 0b10101100, 0b10011001, 0b10011001, 0b10011001, 0b10011001, 0b11100111 ]; let buffer: BitBuffer = BitBuffer::new(bytes); let result = buffer.read::(10, 9).unwrap(); ```

You can read up to a maximum of 64 bit.