Contents

compression_stream_destroy(_:)

Frees any memory allocated by stream initialization function.

Declaration

func compression_stream_destroy(_ stream: UnsafeMutablePointer<compression_stream>) -> compression_status

Parameters

Return Value

A value of type compression_status, interpreted as follows:

Discussion

Note that compression_stream_destroy(_:) doesn’t free the stream object or the buffers allocated by the caller.

See Also

Multiple-step compression