CXInitUncompContextLZ

Syntax

#include <revolution/cx/CXStreamingUncompression.h>

void CXInitUncompContextLZ( CXUncompContextLZ *context, 
                            void *dest );

Arguments

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

Return Values

None.

Description

Initializes the context structure for streaming uncompression of LZ77-compressed and LZ77 extended-compressed data.

When the CXReadUncompLZ 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, CXUncompressLZ, CXSecureUncompressLZ, CXReadUncompLZ, CXIsFinishedUncompLZ, CXUncompContextLZ, CXCompressLZ, CXCompressLZEx, ntcompress

Revision History

2009/09/25 Explained data compressed in the LZ77 extended-compression format.
2007/09/03 Corrected error in the See Also section.
2006/07/06 Initial version.


CONFIDENTIAL