Public API¶
- sire.stream.get_data_header(data)[source]¶
Return the header data from the sire streamed data. If ‘data’ is a string then this is loaded from the appropriate file. Otherwise it will assume data is a binary array and will load directly from that.
- sire.stream.get_header_property(key)[source]¶
Return the global header value for the key ‘key’. Returns None if no value is set.
- sire.stream.load(data)[source]¶
Load the passed data from the sire streamed data format. If ‘data’ is a string, then this will load the appropriate file. Otherwise, it will assume data is a binary array, so will load the data directly from that.