CXInitUncompContextHuffman

Syntax

#include <revolution/cx/CXStreamingUncompression.h>

void CXInitUncompContextHuffman( CXUncompContextHuffman *context, 
                                 void*                   dest );

Arguments

context Pointer to the context structure to be used for streaming uncompression of Huffman-compressed data.
dest Specifies the destination buffer for uncompressed data.

Return Values

None.

Description

Initializes the context structure for streaming decompression of Huffman-compressed data.

When the CXReadUncompHuffman function is run using this context, the next set of data gets expanded in the region passed by the dest argument.

If this context is going to be reused, it needs to be reinitialized after the expansion of each file is completed.

See Also

CXGetUncompressedSize, CXUncompressHuffman, CXSecureUncompressHuffman, CXReadUncompHuffman, CXIsFinishedUncompHuffman, CXCompressHuffman, ntcompress

Revision History

2007/09/03 Corrected error in the See Also section.
2006/07/06 Initial version.


CONFIDENTIAL