Function unsigned_varint::io::read_u16[][src]

pub fn read_u16<R: Read>(reader: R) -> Result<u16, ReadError>

Try to read and decode a u16 from the given Read type.