pub fn write(hprz: &Hprz) -> Result<Vec<u8>, FormatError>Expand description
The container’s bytes: the design as DESIGN_ENTRY, then each attachment, in order.
§Errors
What to_json refuses in the design, and FormatError::Container for an attachment’s name
check_name refuses, two of one name (ignoring case and how an accent is spelled), a name that
is also another’s folder, or more than MAX_UNPACKED_BYTES in all.