.compression().constants().memory()
Access:
public

This is the memory contants class. It contains constants that can be used in the memory level setting.

Summary

Name
Description
Returns the DEFAULT_MEMLEVEL constant.
max
Returns the MAX_MEMLEVEL constant.
min
Returns the MIN_MEMLEVEL constant.

Functions

.default()
Access:
public
Summary:
Returns the DEFAULT_MEMLEVEL constant.

This is the DEFAULT_MEMLEVEL constant. It returns the default amount of memory that is used for the compression and decompression.

Returns

Type
Constant
Description
Z_DEFAULT_MEMLEVEL
.max()
Access:
public
Summary:
Returns the MAX_MEMLEVEL constant.

This is the MAX_MEMLEVEL constant. It returns the maximum amount of memory that can be used for the compression and decompression.

Returns

Type
Constant
Description
Z_MAX_MEMLEVEL
.min()
Access:
public
Summary:
Returns the MIN_MEMLEVEL constant.

This is the MIN_MEMLEVEL constant. It returns the minimal amount of memory that can be used for the compression and decompression.

Returns

Type
Constant
Description
Z_MIN_MEMLEVEL