The CompressionAlgorithm class defines string constants for the names of compress and uncompress options. These constants are used as values of the algorithm parameter of the ByteArray.compress() and ByteArray.uncompress() methods.

Variables

@:value(cast 0)@:impl@:enuminlineread onlyDEFLATE:CompressionAlgorithm = 0

Defines the string to use for the deflate compression algorithm.

@:value(cast 1)@:impl@:enuminlineread onlyLZMA:CompressionAlgorithm = 1

@:value(cast 2)@:impl@:enuminlineread onlyZLIB:CompressionAlgorithm = 2

Defines the string to use for the zlib compression algorithm.