Function zstd::dict::from_continuous
[−]
[src]
pub fn from_continuous(sample_data: &[u8], sample_sizes: &[usize], max_size: usize) -> Result<Vec<u8>>
Train a dictionary from a big continuous chunk of data.
This is the most efficient way to train a dictionary,
since this is directly fed into zstd
.