Expand description
Operation-level dispatch across fixed, RDW, and VB framing. Operation-level fixed/RDW dispatch for codec callers.
The framing crates own byte-level parsing and writing. This module owns the
format choice used by codec operations and keeps the legacy single-record
helpers available through crate::record.
Structs§
- BdwHeader
- Parsed BDW header (
block length + reserved). - Fixed
Record Reader - Fixed record reader for processing fixed-length records.
- Fixed
Record Writer - Fixed record writer for writing fixed-length records.
- RDWRecord
- An RDW record with header and payload bytes.
- RDWRecord
Reader - RDW (Record Descriptor Word) record reader for variable-length records.
- RDWRecord
Writer - RDW record writer for variable-length records.
- VbBlock
Reader - Bounded VB block reader yielding framed records.
- VbBlock
Writer - Deterministic VB block writer packing records in order.
- VbRecord
- One record framed inside a VB block.
Constants§
- BDW_
HEADER_ LEN - Size of a BDW (Block Descriptor Word) header in bytes.
- BDW_
MAX_ BLOCK_ LEN - Maximum VB block length in bytes, header included.
- RDW_
HEADER_ LEN - Size of an RDW header in bytes.
- VB_
MAX_ RECORD_ LEN - Maximum RDW length inside a VB block, header included.
Functions§
- read_
rdw_ record - Read one complete RDW record, preserving its header and reserved bytes.
- read_
record - Read one record using the selected framing format.
- write_
record - Write one record using the selected framing format.