pub fn read(bytes: &[u8]) -> Result<FlightLog, LogError>Expand description
Reads a flight log in any format HPR Sim reads.
§Errors
LogError::Archive for a zip archive, whose files archive::unpack takes out;
LogError::Workbook for an .xls worksheet’s stream, whose sheet xls::read reads;
LogError::Unrecognized for a layout HPR Sim doesn’t read, naming those it does, or for a
file that is empty or holds only blank space, saying so; otherwise whatever the format’s
reader refuses.