read_save_archive_from_bytes

Function read_save_archive_from_bytes 

Source
pub fn read_save_archive_from_bytes(bytes: &[u8]) -> Result<Erf, ErfBinaryError>
Expand description

Reads a save archive directly from bytes.

This helper accepts both MOD and SAV signatures on input and normalizes the in-memory ErfFileType to ErfFileType::Mod.