#include <revolution/cx/CXStreamingUncompression.h>
s32 CXReadUncompHuffman( CXUncompContextHuffman *context, const void* data, u32 len );
| context | Pointer to the context structure for uncompression of Huffman compressed data. |
| data | Pointer to the next data in the file being decompressed. |
| len | Size of the data provided in the second argument. |
Returns the number of remaining bytes of data being uncompressed. If all of the data is finished being uncompressed, the function returns 0.
Performs streaming uncompression of Huffman-compressed data, processing just the data size given, and copies it to the buffer specified by the
CXInitUncompContextHuffman function.
This function is slow compared to the CXUncompressHuffman function, which decompresses all the data at once.
CXUncompressHuffman, CXInitUncompContextHuffman, CXIsFinishedUncompHuffman, CXUncompContextHuffman,CXReadUncompLZ, CXReadUncompRL, CXCompressHuffman
07/06/2006 Initial version.
CONFIDENTIAL