Skip to main content

Crate copybook_fixed

Crate copybook_fixed 

Source
Expand description

Fixed-length record framing primitives.

This crate intentionally focuses on one concern: reading and writing LRECL-framed records with deterministic padding and structured error mapping.

Use FixedRecordReader to consume fixed-length records from a byte stream and FixedRecordWriter to produce them with automatic null-byte padding.

Structsยง

FixedRecordReader
Fixed record reader for processing fixed-length records.
FixedRecordWriter
Fixed record writer for writing fixed-length records.