OEReadRecord

OEReadRecord(ifs: Union[TextIO, BinaryIO, oeistream], fmt: str="binary")
OEReadRecords(ifs: Union[TextIO, BinaryIO, oeistream], fmt: str="binary")

Reads and returns an OERecord object from a stream. Records can be read from the stream until this function returns a None value.

record

The record to be filled.

ifs

The stream to read the record from.

fmt

The format to read the record in. The default is “binary”. Other formats only used internally.

See also

read_record

read_record is an alias to the OEReadRecord function.

read_records

read_records is an iterator for the OEReadRecord function.