Skip to main content

read_header

Function read_header 

Source
pub(crate) fn read_header(tag: &Tag) -> Result<LogHeader, String>
Expand description

Reads the log header with the requests, in the order, that the C++ readTagLogHeader() makes: Config, TagInfo, calibration constants from index 0 until one is refused, then the state log in chunks until one is refused or empty.

ยงErrors

When the config or the info cannot be read.