Expand description
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 accross 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
Compression dictionary.
A digested decompression dictionary.
Prepared dictionary for decompression
Prepared dictionary for compression