PyDocs

Nav

Data Compression and Archiving

ZstdDecompressor

  • ZstdDecompressor(zstd_dict=None, options=None)
Create a decompressor object for decompressing data incrementally.

  zstd_dict
    A ZstdDict object, a pre-trained Zstandard dictionary.
  options
    A dict object that contains advanced decompression parameters.

Thread-safe at method level.  For one-shot decompression, use the
decompress() function instead.
Members of ZstdDecompressor

d

decompress
Decompress *data*, returning uncompressed bytes if possible, or b'' otherwise.

e

eof
True means the end of the first frame has been reached.

n

needs_input
If the max_length output limit in .decompress() method has been reached, and the decompressor has (or may has) unconsumed input data, it will be set to False.

u

unused_data
A bytes object of un-consumed input data.
0 Examples
No examples for compression.zstd/ZstdDecompressor.
See Also
No see-alsos for compression.zstd/ZstdDecompressor
0 Notes
No notes for ZstdDecompressor