Closed ascibisz closed 1 year ago
For JSON data, can currently use a InputFileData with either file_contents or file_path, but for binary data, currently it only works for a binary file_path not file_contents.
InputFileData
#122
Added the ability to use InputFileData with file_contents for binary data. with @blairlyons
Please delete options that are not relevant.
_is_binary()
SimulariumBinaryReader
Problem
For JSON data, can currently use a
InputFileData
with either file_contents or file_path, but for binary data, currently it only works for a binary file_path not file_contents.#122
Solution
Added the ability to use
InputFileData
with file_contents for binary data. with @blairlyonsType of change
Please delete options that are not relevant.
Change summary:
_is_binary()
check inInputFileData
to work for file_contents in addition to file_pathSimulariumBinaryReader
to be able to read binary data from file_contents when relevant, instead of just file_path