pub fn train_dict(samples: &[&[u8]], max_size: usize) -> Option<Vec<u8>>
Train a zstd dictionary on the unique chunks (needs at least 8 samples).