Module dict
Train a dictionary from various sources.
A dictionary can help improve the compression of small files. The dictionary must be present during decompression, but can be shared across multiple "similar" files.
Creating a dictionary using the zstd C library,
using the zstd command-line interface, using this library,
or using the train binary provided, should give the same result,
and are therefore completely compatible.
To use, see Encoder::with_dictionary or Decoder::with_dictionary.
Structs
- CDict
- DDict
- DecoderDictionary Prepared dictionary for decompression
- EncoderDictionary Prepared dictionary for compression