unsigned_varint::nom

Function u16

Source
pub fn u16(input: &[u8]) -> IResult<&[u8], u16, (&[u8], ErrorKind)>
Expand description

nom combinator to decode a variable-length encoded u16 .