13 lines
562 B
Rust
13 lines
562 B
Rust
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
//! On-disk save format: the framing that persists modified chunks to region files.
|
|
//!
|
|
//! The format is built bottom-up. The smallest unit is the `SYNC` per-chunk [`record`], which wraps one [`crate::world::ChunkData`] in a self-describing, compressed frame. Region-level framing (the `SYNR` file and its header table) is layered on top of it. All parsing treats on-disk bytes as untrusted and reports failures through [`SaveError`].
|
|
|
|
mod cursor;
|
|
mod error;
|
|
pub mod record;
|
|
pub mod region;
|
|
|
|
pub use error::SaveError;
|