Enumeration Case

COMPRESSION_STATUS_ERROR

Indicates an error with stream compression.

Declaration

COMPRESSION_STATUS_ERROR = -1

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

COMPRESSION_STATUS_OK

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

COMPRESSION_STATUS_END

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