CXReadUncompRL

C Specification

#include <revolution/cx/CXStreamingUncompression.h>

s32 CXReadUncompRL( CXUncompContextRL *context, const void* data, u32 len );

Arguments

context Pointer to the context structure for uncompression of RL-compressed data.
data Pointer to the next data in the file being decompressed.
len Size of the data provided in the second argument.

Return Values

Returns the number of remaining bytes of data being uncompressed. If all of the data is finished being uncompressed, the function returns 0.

Description

Performs streaming uncompression of running length-compressed data, doing just the data size given, and copies it to the buffer specified by the
CXInitUncompContextRL function.
This function is slow compared to the CXUncompressRL function, which decompresses all of the data at once.

See Also

CXUncompressRL, CXInitUncompContextRL, CXUncompContextRL,CXReadUncompLZ, CXReadUncompHuffman, CXCompressRL, CXIsFinishedUncompRL

Revision History

07/06/2006 Initial version.


CONFIDENTIAL