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<h2>C Specification</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;revolution/cx.h&gt;</CODE><BR>
20  <BR>
21  <CODE>u32 CXGetUncompressedSize( const void *srcp );</CODE></dd>
22</dl>
23<h2>Arguments</h2>
24<TABLE border="1" width="100%">
25  <TBODY>
26    <TR>
27<TD width="13%"><EM><STRONG>srcp</STRONG></EM></TD>
28<TD width="87%">Source address where the 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 extraction.</P>
41
42<h2>See Also</h2>
43<p><CODE><A href="CXUncompressLZ.html">CXUncompressLZ</A>, <A href="CXUncompressHuffman.html">CXUncompressHuffman</A>, <A href="CXUncompressRL.html">CXUncompressRL</A><BR> <A href="CXGetCompressionType.html">CXGetCompressionType</A><br></CODE></p>
44
45<H2>Revision History</H2>
46<P>
472006/09/12 Changed the header size to be accessed to 8 bytes due to increase in the file size that can be handled.<BR> 2006/07/06 Initial version.
48</P>
49<hr>
50<P>CONFIDENTIAL</p>
51</BODY>
52</HTML>
53