#include <revolution/cx/CXStreamingUncompression.h>
void CXInitUncompContextLZFront( CXUncompContextLZ *context,
void* dest
s32 destSize );
| context | Pointer to the context structure to be used for streaming the uncompression of the LZ77-compressed data. |
|---|---|
| dest | Specifies the destination buffer for uncompressed data. |
| destSize | Specifies the maximum amount of data that will be uncompressed. |
None.
Initializes the context structure for streaming the uncompression of the LZ77-compressed data. Use this interface for uncompressing only the number of bytes of data specified by destSize.
To uncompress all data, use the CXInitUncompContextLZ function.
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.
CXGetUncompressedSize, CXUncompressLZ, CXSecureUncompressLZ, CXInitUncompContextLZ, CXReadUncompLZ, CXIsFinishedUncompLZ, CXUncompContextLZ, CXCompressLZ, CXCompressLZEx, ntcompress
2007/09/03 Corrected an error in See Also.
2007/06/05 Initial version.
CONFIDENTIAL