Expand description
Tables of records an index found: the messages of one type in a flight log, the frames of one CAN message in a candump.
A log interleaves its message types, so where the rows of one type are is not
arithmetic. One pass over the file records where each record of each type starts
(Offsets); a table is then decoded from a map of the file at those offsets
through the decode core of the binary format specs (crate::fixed_records), only
the rows and columns a view reaches. The pass’s result is kept (cached), so the
home screen can list a log’s tables and each opens without reading the file again.
Structs§
- Indexed
Records - The records of one type: fixed columns at offsets into each record.
Enums§
- Offsets
- Where each record of one type starts, four bytes a record when the file allows.
Constants§
- MAX_
RECORDS - Records one pass indexes, all types together. Four bytes a record for a file under 4 GiB, eight past it: 256 MiB at most for a file under 4 GiB.