DownloadDataFileToMemory
- class openmsistream.data_file_io.DownloadDataFileToMemory(filepath, *args, **kwargs)
Bases:
DownloadDataFile
Class to represent a data file that will be held in memory and populated by the contents of messages from a topic
- Parameters:
filepath (
pathlib.Path
) – Path to the file
- property bytestring
The bytestring of the file contents (like calling file_pointer.read() for a file opened in “rb” mode). Call bytestring.decode() to convert this to a text string.
- property check_file_hash
The hash of the file contents determined from the bytestring of the file stored in memory