OEReadRecord

OEReadRecord(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”, but can also be “json”.

See also

read_record

read_record is an alias to the OEReadRecord function.