byteorder_slice
Provides convenience methods for reading numbers and slices from a slice
Usage
Use byteorder_slice = "1.0.0"
if you want reads to return an Option.
Use byteorder_slice = "2.0.0"
if you want reads to return a std::io::Result.
use
let data = vec!;
let src = &mut &data;
let a = src.read_u8.unwrap;
let b = src..unwrap;
let c = src..unwrap;
let d = src.read_slice.unwrap;