Function unsigned_varint::decode::u16 [−][src]
pub fn u16(buf: &[u8]) -> Result<(u16, &[u8]), Error>
Decode the given slice as u16
.
Returns the value and the remaining slice.
pub fn u16(buf: &[u8]) -> Result<(u16, &[u8]), Error>
Decode the given slice as u16
.
Returns the value and the remaining slice.