pub fn read(bytes: &[u8]) -> Result<Imported<OrkFile>, OrkError>Expand description
Reads a .ork file from its bytes: sniffs the container, unpacks it, and parses the design.
ยงErrors
Returns OrkError when the bytes are not a .ork at all, when the container is damaged,
when no entry in it can be the design document, or when that document is not well-formed XML
rooted at <openrocket> with a readable schema version. Everything a reader can go on from is
a Warning instead.