This trait represents a contract for extracting raw records from a stream of bytes.
This trait represents a contract for extracting raw records from a stream of bytes. A raw record is an array of bytes.
Record extractors are used for in situations where the size of records in a file is not fixed and cannot be determined neither from the copybook nor from record headers.
This implementation of a record extractor for ASCII test files.
This implementation of a record extractor for ASCII test files.
Record extractors are used for in situations where the size of records in a file is not fixed and cannot be determined neither from the copybook nor from record headers.
Empty lines (ones that contain only LF / CRLF) are skipped.
The implementation is optimized for performance, so might be not obviously readable. Hopefully, comments will help anyone reading this.
This implementation of a record extractor for ASCII test files.
This implementation of a record extractor for ASCII test files.
Record extractors are used for in situations where the size of records in a file is not fixed and cannot be determined neither from the copybook nor from record headers.
Empty lines (ones that contain only LF / CRLF) are skipped.
The implementation is optimized for performance, so might be not obviously readable. Hopefully, comments will help anyone reading this.
This implementation of a record extractor A raw record is an array of bytes.
This implementation of a record extractor A raw record is an array of bytes.
Record extractors are used for in situations where the size of records in a file is not fixed and cannot be determined neither from the copybook nor from record headers.
A record number the input stream is pointing to (zero-based).
An input stream pointing to the beginning of a file or a record in a file.
A copybook of the input stream.
A string provided by a client for the raw record extractor.