Function qsym2::io::read_qsym2_binary

source ·
pub fn read_qsym2_binary<T, P: AsRef<Path>>(
    name: P,
    file_type: QSym2FileType,
) -> Result<T, Error>
Expand description

Reads a QSym2 binary file and deserialises it into an appropriate structure.

§Arguments

  • name - The name of the file to be read in (without QSym2-specific extensions).
  • file_type - The type of the QSym2 file to be read in.

§Returns

A Result containing the structure deserialised from the read-in file.