Qore Programming Language Reference Manual 2.3.0
Loading...
Searching...
No Matches
Compression Constants

Variables

const Qore::BROTLI_DEFAULT_QUALITY = 11
 gives the default quality level for the brotli() function (value: 11)
 
const Qore::BROTLI_MAX_QUALITY = 11
 gives the maximum quality level for the brotli() function (value: 11)
 
const Qore::BROTLI_MIN_QUALITY = 0
 gives the minimum quality level for the brotli() function (value: 0)
 
const Qore::BZ2_DEFAULT_COMPRESSION = BZ2_DEFAULT_COMPRESSION
 gives the default compression level for the bzip2() function, providing a trade-off between compression speed and compression size (value: 3)
 
const Qore::COMPRESSION_LEVEL_DEFAULT = COMPRESSION_LEVEL_DEFAULT
 Identifies the default compression level appropriate for given algorithm.
 
const Qore::LZ4_DEFAULT_ACCELERATION = 1
 gives the default acceleration value for the lz4() function (value: 1)
 
const Qore::LZ4_MAX_ACCELERATION = 65537
 gives the maximum acceleration value for the lz4() function (value: 65537)
 
const Qore::LZ4_MIN_ACCELERATION = 1
 gives the minimum acceleration value for the lz4() function (value: 1)
 
const Qore::ZSTD_DEFAULT_LEVEL = qore(ZSTD_CLEVEL_DEFAULT)
 gives the default compression level for the zstd() function (value: 3)
 
const Qore::ZSTD_MAX_LEVEL = qore(ZSTD_maxCLevel())
 gives the maximum compression level for the zstd() function (typically 22)
 
const Qore::ZSTD_MIN_LEVEL = 1
 gives the minimum compression level for the zstd() function (value: 1)
 
const Qore::Z_DEFAULT_COMPRESSION = Z_DEFAULT_COMPRESSION
 gives the default compression level for the compress() and gzip() functions, providing a trade-off between compression speed and compression size
 

Detailed Description

Variable Documentation

◆ BROTLI_DEFAULT_QUALITY

const Qore::BROTLI_DEFAULT_QUALITY = 11

gives the default quality level for the brotli() function (value: 11)

Since
Qore 2.1

◆ BROTLI_MAX_QUALITY

const Qore::BROTLI_MAX_QUALITY = 11

gives the maximum quality level for the brotli() function (value: 11)

Since
Qore 2.1

◆ BROTLI_MIN_QUALITY

const Qore::BROTLI_MIN_QUALITY = 0

gives the minimum quality level for the brotli() function (value: 0)

Since
Qore 2.1

◆ LZ4_DEFAULT_ACCELERATION

const Qore::LZ4_DEFAULT_ACCELERATION = 1

gives the default acceleration value for the lz4() function (value: 1)

Higher acceleration values trade compression ratio for speed.

Since
Qore 2.1

◆ LZ4_MAX_ACCELERATION

const Qore::LZ4_MAX_ACCELERATION = 65537

gives the maximum acceleration value for the lz4() function (value: 65537)

Since
Qore 2.1

◆ LZ4_MIN_ACCELERATION

const Qore::LZ4_MIN_ACCELERATION = 1

gives the minimum acceleration value for the lz4() function (value: 1)

Since
Qore 2.1

◆ ZSTD_DEFAULT_LEVEL

const Qore::ZSTD_DEFAULT_LEVEL = qore(ZSTD_CLEVEL_DEFAULT)

gives the default compression level for the zstd() function (value: 3)

Since
Qore 2.1

◆ ZSTD_MAX_LEVEL

const Qore::ZSTD_MAX_LEVEL = qore(ZSTD_maxCLevel())

gives the maximum compression level for the zstd() function (typically 22)

Since
Qore 2.1

◆ ZSTD_MIN_LEVEL

const Qore::ZSTD_MIN_LEVEL = 1

gives the minimum compression level for the zstd() function (value: 1)

Since
Qore 2.1