Function zstd_safe::create_cdict_by_reference[][src]

pub fn create_cdict_by_reference<'a>(
    dict_buffer: &'a [u8],
    compression_level: CompressionLevel
) -> CDict<'a>
Expand description

Wraps the ZSTD_createCDict_byReference() function.

The dictionary will keep referencing dict_buffer.