Skip to main content

Module reader

Module reader 

Source
Expand description

Reading a .add.xml file into Additional: deserializes the input into layer 1 (the private schema module) and converts it to layer 2 (crate::additional::domain) in one step, mirroring the other formats’ readers.

Functions§

read_additional
Reads and deserializes the .add.xml file at path into Additional.
read_additional_from
Same as read_additional, for callers that already have the .add.xml bytes in hand (an in-memory buffer, a decompressed stream, …) rather than a file on disk.