zstd_safe

Function create_ddict

Source
pub fn create_ddict(dict_buffer: &[u8]) -> DDict<'static>
Expand description

Wraps the ZSTD_createDDict() function.

It copies the dictionary internally, so the resulting DDict is 'static.