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


enum FilterOperation


Enumeration Cases

case compress

An operation that compresses data.

case decompress

An operation that decompresses data.


Conforms To

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 Algorithm

Algorithms used for compression or decompression.

enum FilterError

Errors that occur during compression.