[][src]Function zstd_safe::decompress_using_dict

pub fn decompress_using_dict(
    dctx: &mut DCtx,
    dst: &mut [u8],
    src: &[u8],
    dict: &[u8]
) -> Result<usize, usize>

ZSTD_decompress_usingDict()

Decompression using a predefined Dictionary (see dictBuilder/zdict.h).

Dictionary must be identical to the one used during compression.

Note : This function loads the dictionary, resulting in significant startup delay.

Note : When dict == NULL || dictSize < 8 no dictionary is used.