class OnTheFlyDataUnpacker(unpack_function, filename, filemode, seek, count, endian='>')[source]

Bases: builtins.object

Tie-up a data sample unpack function with its parameters.

This class allows for data to be read directly from the disk as needed, preventing the need to store data in memory.


__doc__ str(object=’‘) -> str
__module__ str(object=’‘) -> str
__weakref__ list of weak references to the object (if defined)

Special Methods

__dir__ default dir() implementation
__format__ default object formatter
__new__ Create and return a new object.
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__ size of object in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().