System.ZLib.TCompressionLevel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TCompressionLevel = (clNone = Integer(zcNone), clFastest, clDefault, clMax);

C++

enum DECLSPEC_DENUM TCompressionLevel : unsigned char { clNone, clFastest, clDefault, clMax };

Properties

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

Description

TCompressionLevel indicates the type of compression algorithm to be used when creating a compressed data stream.

The following table lists the possible values:



Value Meaning

clNone

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

clFastest

Specifies fastest compression, resulting in a larger archive.

clDefault

Compromise between speed and amount of compression.

clMax

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



See Also