Skip to main content

read

Function read 

Source
pub fn read(bytes: &[u8]) -> Result<FlightLog, LogError>
Expand description

Reads an AltiMAX .ALS file.

§Errors

LogError::NotThisFormat when the file is shorter than a header and one record; LogError::Binary, naming the byte, when a record’s kind or zero bytes aren’t as the module describes, the first raw pressure isn’t a pad’s, a filtered pressure isn’t finite, or a record follows the header’s count.