Function receive_byte

Source
pub fn receive_byte(buf: &mut [u8; 4], byte: u8) -> Result<Message>
Expand description

Receives bytes from split transport, deserializes into messages. Adds byte to the buffer and tries to deserialize a message.