Function unsigned_varint::aio::read_u16

source ·
pub async fn read_u16<R: AsyncRead + Unpin>(reader: R) -> Result<u16, ReadError>
Expand description

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