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>MI_GetUncompressedSize</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MI_GetUncompressedSize <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <nitro/mi.h></CODE><BR> 20 <BR> 21 <CODE>u32 MI_GetUncompressedSize( 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>This function is compatible with all compression formats supported by the TWL-SDK.</P> 39<h2>Internal Operation</h2> 40<P>Reads the first 4 bytes of data and shifts down that value by 8 bits.</P> 41 42<h2>See Also</h2> 43<p><CODE><A href="MI_UncompressLZ.html">MI_UncompressLZ*</A>, <A href="MI_UncompressHuffman.html">MI_UncompressHuffman</A>, <A href="MI_UncompressRL.html">MI_UncompressRL*</A>, <A href="MI_GetCompressionType.html">MI_GetCompressionType</A></CODE></p> 44 45<H2>Revision History</H2> 46<P>2004/06/18 Initial version.</P> 47<hr><p>CONFIDENTIAL</p></body> 48</html> 49