rabbitmq_stream_protocol::codec::decoder

Function read_u16

Source
pub fn read_u16(input: &[u8]) -> Result<(&[u8], u16), IncompleteError>