| title | Header |
|---|---|
| lastUpdated | 2025-03-28 05:28:00 UTC |
| description | Stone archive header format |
Stone archives are encoded with a version agnostic header, ensuring that version-specific fields can be handled separately from version and format detection. This is a 32-byte header at the start of the archive.
| Field | Size | Description |
|---------|----------|--------------------------|
| magic | 4 bytes | Always `0x006d6f73` |
| data | 24 bytes | Version specific data |
| version | 4 bytes | Version number, i.e. `1` |
The "magic" is always recorded as NUL M O S, or:
pub const STONE_MAGIC: &[u8; 4] = b"\0mos";