System.ZLib.TZCompressionLevel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TZCompressionLevel = (zcNone, zcFastest, zcDefault, zcMax);

C++

enum DECLSPEC_DENUM TZCompressionLevel : unsigned char { zcNone, zcFastest, zcDefault, zcMax };

Properties

Type Visibility Source Unit Parent
enum public
System.ZLib.pas
System.ZLib.hpp
System.ZLib System.ZLib

Description

TZCompressionLevel indicates the level of compression.


TZCompressionLevel indicates the algorithm to be used by one of the compression functions.

The following table lists the possible values:



Value Meaning

zcNone

Specifies no compression; data is merely copied to the output stream.

zcFastest

Specifies fastest compression, resulting in a larger archive.

zcDefault

Compromise between speed and amount of compression.

zcMax

Specifies maximum compression, resulting in a longer time to perform the operation.

See Also