pub fn decode(
bytes: &[u8],
limits: SaveLimits,
) -> Result<SaveRef<'_>, SaveError>Expand description
Validates without allocation and borrows the opaque payload. Unknown engine formats, truncation, trailing data, oversized payloads and bad checksums fail before any game decoder runs.