pub fn read(bytes: &[u8], layout: &RecordLayout) -> Result<FlightLog, LogError>Expand description
Reads a file of binary records by the layout the caller states (module docs), as
LogFormat::BinaryRecords.
§Errors
As table; LogError::Layout if the layout’s names state no clock with a unit of time,
such as Time (ms); LogError::Binary, naming the record and its offset, for a record the
table’s reader refuses, such as a clock that isn’t a number; otherwise as generic::read
refuses the table, such as a clock that never steps forward.