CXInitUncompContextRLFront

Syntax

#include <revolution/cx/CXStreamingUncompression.h>

void CXInitUncompContextRLFront( CXUncompContextRL *context, 
                                 void*              dest,
                                 s32                destSize );

Arguments

context Pointer to the context structure to be used for streaming uncompression of RL-compressed data.
dest Destination buffer for uncompressed data.
destSize Maximum amount of data that will be uncompressed.

Return Values

None.

Description

Initializes the context structure for streaming the uncompression of RL-compressed data. Use this interface for uncompressing only the number of bytes of data specified by destSize.
To uncompress all data, use the CXInitUncompContextRL function.

When the CXReadUncompRL 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, CXUncompressRL, CXSecureUncompressRL, CXInitUncompContextRL, CXReadUncompRL, CXIsFinishedUncompRL, CXUncompContextRL, CXCompressRL, ntcompress

Revision History

2007/09/03 Corrected an error in See Also.
2007/06/05 Initial version.


CONFIDENTIAL