Skip to main content

idl_decode

Function idl_decode 

Source
pub fn idl_decode(bytes: &[u8]) -> Result<IdlSave, ErrorsJSL>
Expand description

Parses an IDL save file (SciPy’s readsav): the variables in file order, pointers replaced by what they point to, and the descriptive records. A compressed file (format code \0\x06) is expanded record by record. Record types the reader does not use, such as COMPILED and PROMOTE64, are skipped by their next-record offsets, where SciPy refuses some of them.