read_save_archive

Function read_save_archive 

Source
pub fn read_save_archive<R: Read>(reader: &mut R) -> Result<Erf, ErfBinaryError>
Expand description

Reads a save archive from a reader.

This helper accepts both MOD (canonical KotOR) and SAV (compatibility) signatures on input, then normalizes the in-memory ErfFileType to ErfFileType::Mod.