Struct zstd::dict::EncoderDictionary
source · [−]pub struct EncoderDictionary<'a> { /* private fields */ }
Expand description
Prepared dictionary for compression
A dictionary can include its own copy of the data (if it is 'static
), or it can merely point
to a separate buffer (if it has another lifetime).
Implementations
This is supported on crate feature experimental
only.
This is supported on crate feature
experimental
only.Create prepared dictionary for compression
A level of 0
uses zstd’s default (currently 3
).
Only available with the experimental
feature. Use EncoderDictionary::copy
otherwise.