Expand description
Checkpoint serialization codec.
Provides format-agnostic serialization for checkpoint data.
- Default (JSON): Human-readable, backward compatible with all existing checkpoints.
- Binary (MessagePack): Compact and fast, enabled via the
binary-codecfeature flag.
The codec auto-detects the format on deserialization by inspecting the first byte, so checkpoints written in either format can always be read back regardless of which feature is currently enabled.
Enums§
- Checkpoint
Format - Serialization format for checkpoint data.
Functions§
- deserialize
- Deserialize a value, auto-detecting the format from the data.
- serialize
- Serialize a value using the specified format.