pub fn read_lyt_from_bytes(bytes: &[u8]) -> Result<Lyt, LytError>Expand description
Reads a LYT layout from bytes.
§Errors
LytError::TextDecoding when bytes are not Windows-1252 text, and
LytError::InvalidData when a count section’s rows do not parse. An
unrecognised line is skipped rather than reported, so a file that is not a
LYT at all can read as an empty layout.