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 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>CXGetUncompressedSize</title>
9<LINK rel="stylesheet" href="../CSS/revolution.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">CXGetUncompressedSize</h1>
15
16<h2>Syntax</h2>
17<DL><DD><PRE class="construction">
18#include &lt;revolution/cx.h&gt;
19
20u32 CXGetUncompressedSize( const void *srcp );
21</PRE></dd></dl>
22
23<h2>Arguments</h2>
24<TABLE class="arguments" border="1">
25  <TBODY>
26    <TR>
27<TH>srcp</TH>
28<TD>Source address where compressed data is stored</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32
33<h2>Return Values</h2>
34<p>Size after extraction.</p>
35
36<H2>Description</H2>
37<P>This function obtains the extracted size of compressed data after extraction. This function does not extract data but reads the extracted size that is stored in the beginning of the compressed data.</P>
38<P>It is compatible with all compression formats supported by the CX library.</P>
39<h2>Internal Operation</h2>
40<P>Reads the header information in the first 8 bytes of data and gets the data size after expansion.</P>
41
42<h2>See Also</h2>
43<p class="reference">
44<A href="CXUncompressLZ.html">CXUncompressLZ</A>,
45<A href="CXUncompressHuffman.html">CXUncompressHuffman</A>,
46<A href="CXUncompressRL.html">CXUncompressRL</A>,
47<A href="CXGetCompressionType.html">CXGetCompressionType</A>
48</p>
49
50<H2>Revision History</H2>
51<P>
522006/09/12 The referenced header size changed to 8 bytes due to expansion in the file size that can be handled.<BR>2006/07/06 Initial version.<BR>
53</P>
54
55<hr><p>CONFIDENTIAL</p></body>
56</html>
57