re_log_encoding::codec::file::decoder

Function decode_bytes

Source
pub fn decode_bytes(
    message_kind: MessageKind,
    buf: &[u8],
) -> Result<Option<LogMsg>, DecodeError>
Expand description

Decode a message of kind message_kind from buf.

Ok(None) returned from this function marks the end of the file stream.