Enumeration Case

COMPRESSION_LZFSE

The LZFSE compression algorithm, that is recommended for use on Apple platforms.

Declaration

COMPRESSION_LZFSE = 0x801

Discussion

LZFSE is Apple’s proprietary compression algorithm, matching the compression ratio of zlib level 5, but with much higher energy efficiency and speed (between 2x and 3x) for both encode and decode operations.

Use LZFSE when compressing a payload for iOS, macOS, watchOS, and tvOS. If you need to compress a payload for another platform (for example, Linux or Windows), use LZ4, LZMA, or zlib.

See Also

Algorithm Constants

COMPRESSION_LZ4

The LZ4 compression algorithm, that is recommended for fast compression.

COMPRESSION_LZ4_RAW

The LZ4 compression algorithm, without frame headers.

COMPRESSION_LZMA

The LZMA compression algorithm, that is recommended for high-compression ratio.

COMPRESSION_ZLIB

The zlib compression algorithm, that is recommended for cross-platform compression.