Function zstd_safe::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.