1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>CXReadUncompHuffman</title> 9<LINK rel="stylesheet" href="../CSS/revolution.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">CXReadUncompHuffman</h1> 15<h2>C Specification</h2> 16 17<dl> 18 <dd> 19<PRE><CODE>#include <revolution/cx/CXStreamingUncompression.h></CODE><BR> 20 <BR> 21<CODE>s32 CXReadUncompHuffman( <A href="CXUncompContextHuffman.html">CXUncompContextHuffman</A> *context, 22const void* data, 23u32 len );</CODE><br> 24</PRE> 25 </dd> 26</dl> 27<h2>Arguments</h2> 28<TABLE border="1" width="100%"> 29 <TBODY> 30 <TR> 31<TD width="13%"><EM><STRONG>context</STRONG></EM></TD> 32<TD width="87%">Pointer to the context structure for uncompression of Huffman compressed data.</TD> 33 </TR> 34 <TR> 35<TD width="13%"><EM><STRONG>data</STRONG></EM></TD> 36<TD width="87%">Pointer to the next data in the file being decompressed.</TD> 37 </TR> 38 <TR> 39<TD><EM><STRONG>len</STRONG></EM></TD> 40<TD>Size of the data provided in the second argument.</TD> 41 </TR> 42 </TBODY> 43</TABLE> 44 45<h2>Return Values</h2> 46<p>Returns the number of remaining bytes of data being uncompressed. If all of the data is finished being uncompressed, the function returns <code>0</code>.</p> 47 48<H2>Description</H2> 49<P>Performs streaming uncompression of Huffman-compressed data, processing just the data size given, and copies it to the buffer specified by the <BR> <A href="CXInitUncompContextHuffman.html">CXInitUncompContextHuffman</A> function.<br />This function is slow compared to the <A href="CXUncompressHuffman.html">CXUncompressHuffman</A> function, which decompresses all the data at once.</P> 50 51<h2>See Also</h2> 52<p><CODE><A href="CXUncompressHuffman.html">CXUncompressHuffman</A>, <A href="CXInitUncompContextHuffman.html">CXInitUncompContextHuffman</A>, <A href="CXIsFinishedUncompHuffman.html">CXIsFinishedUncompHuffman</A>, <A href="CXUncompContextHuffman.html">CXUncompContextHuffman</A>,<A href="CXReadUncompLZ.html">CXReadUncompLZ</A>, <A href="CXReadUncompRL.html">CXReadUncompRL</A>, <A href="CXCompressHuffman.html">CXCompressHuffman</A><br></CODE></p> 53 54<H2>Revision History</H2> 55<P>07/06/2006 Initial version.</P> 56<hr> 57<P>CONFIDENTIAL</p> 58</BODY> 59</HTML> 60