[][src]Function zstd_sys::ZSTD_estimateCDictSize

pub unsafe extern "C" fn ZSTD_estimateCDictSize(
    dictSize: usize,
    compressionLevel: c_int
) -> usize

ZSTD_estimate?DictSize() : ZSTD_estimateCDictSize() will bet that src size is relatively "small", and content is copied, like ZSTD_createCDict(). ZSTD_estimateCDictSize_advanced() makes it possible to control compression parameters precisely, like ZSTD_createCDict_advanced(). Note : dictionaries created by reference (ZSTD_dlm_byRef) are logically smaller.