PyDocs

Nav

Data Compression and Archiving

ZstdDict

  • ZstdDict(dict_content, /, *, is_raw=False)
Represents a Zstandard dictionary.

  dict_content
    The content of a Zstandard dictionary as a bytes-like object.
  is_raw
    If true, perform no checks on *dict_content*, useful for some
    advanced cases. Otherwise, check that the content represents
    a Zstandard dictionary created by the zstd library or CLI.

The dictionary can be used for compression or decompression, and can be
shared by multiple ZstdCompressor or ZstdDecompressor objects.
Members of ZstdDict

a

as_digested_dict
Load as a digested dictionary to compressor.
as_undigested_dict
Load as an undigested dictionary to compressor.

d

dict_content
The content of a Zstandard dictionary, as a bytes object.
dict_id
The Zstandard dictionary, an int between 0 and 2**32.
0 Examples
No examples for compression.zstd/ZstdDict.
See Also
No see-alsos for compression.zstd/ZstdDict
0 Notes
No notes for ZstdDict