FeedDecompressor

Gives data to the decompression engine.

Synopsis

Err FeedDecompressor(Decompressor *decomp, void *data,uint32 numDataWords);

Description

Gives data to the decompressor engine for decompression. As data is decompressed, the call back function supplied when the decompressor was created is called for every word of decompressed data generated.

Arguments

decomp
An active decompression handle, as obtained from CreateDecompressor().
data
A pointer to the data to decompress.
numDataWords
The number of words of compressed data being given to the decompressor.

Return Value

Returns >= 0 for success, or a negative error code if it fail. Possible error codes include:

COMP_ERR_BADPTR
An invalid decompression handle was supplied.

Implementation

Folio call implemented in compression folio V24.

Associated Files

compression.h

See Also

CreateDecompressor(), DeleteDecompressor()