Module binary_format

Module binary_format 

Source
Expand description

§Binary Format Service Implementation

Services for reading and writing the Adaptive Pipeline binary format (.adapipe). Provides streaming I/O, integrity verification with SHA-256 checksums, metadata preservation, and format versioning. Structure: [CHUNK_DATA][JSON_HEADER] [HEADER_LENGTH][FORMAT_VERSION]
[MAGIC_BYTES]. See mdBook for detailed format specification.

Structs§

AdapipeFormat
Implementation of BinaryFormatService
BufferedBinaryWriter
Buffered writer that stores chunks in memory and writes them all during finalize This is simpler than StreamingBinaryWriter and suitable for tests and small files
StreamingBinaryReader
Streaming reader implementation
StreamingBinaryWriter
Streaming writer implementation
TransactionalBinaryWriter
Transactional binary writer providing ACID guarantees for concurrent chunk operations.
ValidationResult
Result of file validation

Traits§

BinaryFormatReader
Reader for streaming .adapipe processed files
BinaryFormatService
Service for writing and reading Adaptive Pipeline processed files (.adapipe format)
BinaryFormatWriter
Writer for streaming .adapipe processed files