pub fn read_u16<B: ByteSlice>(buf: B) -> Result<(u16, usize), Error>