ZSTD_cParam_getBounds method

ZSTD_bounds ZSTD_cParam_getBounds(
  1. ZSTD_cParameter cParam
)

! ZSTD_cParam_getBounds() : All parameters must belong to an interval with lower and upper bounds, otherwise they will either trigger an error or be automatically clamped. @return : a structure, ZSTD_bounds, which contains

  • an error status field, which must be tested using ZSTD_isError()
  • lower and upper bounds, both inclusive

Implementation

ZSTD_bounds ZSTD_cParam_getBounds(
  ZSTD_cParameter cParam,
) {
  return _ZSTD_cParam_getBounds(
    cParam.value,
  );
}