Function sage_mqtt::codec::read_two_byte_integer[][src]

pub async fn read_two_byte_integer<R: AsyncRead + Unpin>(
    reader: &mut R
) -> SageResult<u16>
Expand description

Read the given reader for an u16, returning it in case of success.