Contents

compression_decode_scratch_buffer_size(_:)

Returns the required decompression scratch buffer size for the selected algorithm.

Declaration

func compression_decode_scratch_buffer_size(_ algorithm: compression_algorithm) -> Int

Parameters

Return Value

Size in bytes.

Discussion

This function returns the number of bytes to provide in an optional scratch buffer when calling compression_decode_buffer(_:_:_:_:_:_:).

See Also

Single-step compression