unsigned_varint::aio
pub async fn read_u16<R: AsyncRead + Unpin>(reader: R) -> Result<u16, ReadError>
Try to read and decode a u16 from the given AsyncRead type.
u16
AsyncRead