CXInitUncompContextLHFront

Syntax

#include <revolution/cx/CXStreamingUncompression.h>
void CXInitUncompContextLHFront( CXUncompContextLH *context, void* dest, s32 destSize );

Arguments

context Pointer to the context structure to be used for streaming uncompression of data compressed in LH format.
dest Destination buffer for uncompressed data.
destSize Maximum amount of data to be uncompressed.

Return Values

None.

Description

Initializes the context structure for streaming decompression of data compressed in LH format.

Use this interface for uncompressing only the number of bytes of data specified by destSize.
To uncompress all data, use the CXInitUncompContextLH function.

When the CXReadUncompLH function is executed using this context, data is uncompressed sequentially in the region passed in the dest argument.

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

See Also

CXGetUncompressedSize
CXUncompressLH
CXSecureUncompressLH
CXReadUncompLH
CXIsFinishedUncompLH
ntrompress

Revision History

2009/01/28 Initial version.


CONFIDENTIAL