Skip to main content

write_save_archive_to_vec

Function write_save_archive_to_vec 

Source
pub fn write_save_archive_to_vec(erf: &Erf) -> Result<Vec<u8>, ErfBinaryError>
Expand description

Serializes a save archive to bytes.

Output is canonicalized to the KotOR MOD header signature.

ยงErrors

Every non-I/O failure write_save_archive describes. The Vec target has no I/O to fail at.