Skip to main content

read

Function read 

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

Reads a flight log in any format HPR Sim reads.

§Errors

LogError::Unrecognized for a layout HPR Sim doesn’t read, naming those it does; otherwise whatever the format’s reader refuses.