Skip to main content

write_save_archive

Function write_save_archive 

Source
pub fn write_save_archive<W: Write>(
    writer: &mut W,
    erf: &Erf,
) -> Result<(), ErfBinaryError>
Expand description

Writes a save archive to a writer.

Output is canonicalized to the KotOR MOD header signature.

ยงErrors

The same as write_erf. The signature is rewritten rather than checked, so an Erf carrying any file type writes as a save.