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.