Expand description
Deterministic serializer for AION v2 file format
This module provides deterministic serialization of AION v2 files as specified in RFC-0002. Key properties:
- Deterministic: Same data always produces identical bytes (enables signatures)
- Atomic writes: Files are written to temp location then renamed
- Offset calculation: Automatic calculation of section offsets
- Roundtrip safe: Serialize → parse → serialize produces identical output
Structs§
- Aion
File - AION file data for serialization
- Aion
File Builder - Builder for
AionFile - Aion
Serializer - Serializer for AION v2 files
- Signature
Entry - Signature entry for serialization (112 bytes)
- Version
Entry - Version chain entry for serialization (152 bytes)
Constants§
- AUDIT_
ENTRY_ SIZE - Size of audit entry in bytes