from_extended_record

Function from_extended_record 

Source
pub fn from_extended_record(
    bytes: &[u8],
) -> Result<(LogsData, &[u8]), MessageError>
Expand description

Constructs a LogsData from the provided bytes, assuming the bytes are a a single FXT log record with a potentially extended metadata section. [log encoding] https://fuchsia.dev/fuchsia-src/reference/platform-spec/diagnostics/logs-encoding