Global Variable

COMPRESSION_STATUS_ERROR

Indicates an error with stream compression.

Declaration

var COMPRESSION_STATUS_ERROR: compression_status { get }

Discussion

If there's an error with stream compression or decompression, for example if the encoded data is corrupted, compression_stream_process(_:_:) returns COMPRESSION_STATUS_ERROR.

See Also

Status Constants

var COMPRESSION_STATUS_OK: compression_status

Indicates the stream has consumed all data in the source buffer, or used all space in the destination buffer.

var COMPRESSION_STATUS_END: compression_status

Indicates the stream has read all input from the source, and written all output to the destination.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software