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.


inline read onlyDEFLATE:CompressionAlgorithm = 0

Defines the string to use for the deflate compression algorithm.

inline read onlyLZMA:CompressionAlgorithm = 1

inline read onlyZLIB:CompressionAlgorithm = 2

Defines the string to use for the zlib compression algorithm.