pub unsafe extern "C" fn compression_stream_destroy(
stream: *mut compression_stream,
) -> compression_statusExpand description
Frees any memory allocated by stream initialization function.
§Arguments
stream- A pointer to an allocated and initializedcompression_streamstructure.
§Returns
A value of type compression_status, interpreted as follows:
compression_status::OK- The function successfully destroyed the stream.compression_status::ERROR- An error occurred.