pub unsafe extern "C" fn ZSTD_adjustCParams(
    cPar: ZSTD_compressionParameters,
    srcSize: c_ulonglong,
    dictSize: usize
) -> ZSTD_compressionParameters
Expand description

ZSTD_adjustCParams() : optimize params for a given srcSize and dictSize. srcSize can be unknown, in which case use ZSTD_CONTENTSIZE_UNKNOWN. dictSize must be 0 when there is no dictionary. cPar can be invalid : all parameters will be clamped within valid range in the @return struct. This function never fails (wide contract)