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)@:enum@:implinlineread onlyDEFLATE:CompressionAlgorithm = 0

Defines the string to use for the deflate compression algorithm.

@:value(cast 1)@:enum@:implinlineread onlyLZMA:CompressionAlgorithm = 1

@:value(cast 2)@:enum@:implinlineread onlyZLIB:CompressionAlgorithm = 2

Defines the string to use for the zlib compression algorithm.