View source
enum abstract CompressionAlgorithm(Null<Int>)
package openfl.utils
Available on all platforms
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
inlineread onlyDEFLATE:CompressionAlgorithm = 0
Defines the string to use for the deflate compression algorithm.
inlineread onlyZLIB:CompressionAlgorithm = 2
Defines the string to use for the zlib compression algorithm.