Enumeration

FilterError

Errors that occur during compression.

Declaration

enum FilterError

Topics

Enumeration Cases

case invalidData

An error that indicates invalid data passed to the encoder-decoder.

case invalidState

An error that indicates a filter failed to initialize, or that it has an invalid internal stare or parameters.

Relationships

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 FilterOperation

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