Enumeration

Algorithm

Algorithms used for compression or decompression.

Declaration

enum Algorithm

Topics

Enumeration Cases

case lz4

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

case lzfse

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

case lzma

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

case zlib

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

Relationships

See Also

Objects that Simplify Multiple-Step Compression

Compressing and Decompressing Data with Input and Output Filters

Compress and decompress streamed or from-memory data, using input and output filters.

Compressing and Decompressing Files with Swift Stream Compression

Perform compression for all files and decompression for files with supported extension types.

class InputFilter

An encoder-decoder that reads input data from a stream.

class OutputFilter

An encoder-decoder that writes output data to a stream.

enum FilterError

Errors that occur during compression.

enum FilterOperation

Operations that define whether input and output filters compress or decompress data.