byteorder_slice

Provides convenience methods for reading numbers and slices from a slice

Usage

```rust use byteorderslice::{BigEndian, LittleEndian, ReadSlice} let data = vec![0u8; 100]; let src = &mut &data[..];

let a = src.readu8().unwrap(); let b = src.readu32::().unwrap(); let c = src.readuint::(3).unwrap(); let d = src.readslice(10).unwrap(); ```