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.
- The record to be filled.
- The stream to read the record from.
- The format to read the record in. The default is “binary”, but can also be “json”.