Function write_qsym2_binary
Source pub fn write_qsym2_binary<T, P: AsRef<Path>>(
name: P,
file_type: QSym2FileType,
value: &T,
) -> Result<usize, Error>
Expand description
Serialises a structure and writes into a QSym2 binary file.
§Arguments
name - The name of the file to be written (without QSym2-specific extensions).
file_type - The type of the QSym2 file to be written.
§Returns
A Result indicating if the serialisation and writing processes have been successful.