Skip to main content

Crate copybook_record_io

Crate copybook_record_io 

Source
Expand description

Record-format dispatch and facade re-exports for framing microcrates.

This crate deliberately owns one concern: route legacy single-record I/O calls to either fixed-LRECL or RDW framing implementations.

Use read_record and write_record for format-agnostic single-record I/O, or import the framing types directly for streaming access.

Structs§

FixedRecordReader
Re-export fixed-length record reader from copybook_fixed. Fixed record reader for processing fixed-length records.
FixedRecordWriter
Re-export fixed-length record writer from copybook_fixed. Fixed record writer for writing fixed-length records.
RDWRecord
Re-export RDW record type from copybook_rdw. An RDW record with header and payload bytes.
RDWRecordReader
Re-export RDW record reader from copybook_rdw. RDW (Record Descriptor Word) record reader for variable-length records.
RDWRecordWriter
Re-export RDW record writer from copybook_rdw. RDW record writer for variable-length records.

Functions§

read_record
Read one record from input using the selected record format.
write_record
Write one record to output using the selected record format.