BodyDecompressor#

class bodycompress.BodyDecompressor(path)#

Bases: contextlib.AbstractContextManager, collections.abc.Iterator

Decompresses body data from a file compressed using BodyCompressor.

The data is decompressed using xz, deserialized using msgpack_numpy, difference decoded and unquantized.

Parameters:

path – path to the compressed file

__next__()#

Read the next frame and decode it from the file.

close()#

Terminate the decompression process and close the file.

__exit__(*args)#

Close the decompressor.