1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../css/manpage.css" type="text/css" /> 7 <title>UncompressZlib </title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../nn/Overview.html">nn</a>::<a href="../../nn/cx/Overview.html">cx</a>::UncompressZlib</CODE> Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition">#include <nn/cx.h> 14 15<a href="../../nn_types/s32.html">s32</a> UncompressZlib( 16 void * pDst, 17 size_t dstSize, 18 const void * pSrc, 19 size_t srcSize, 20 void * pWork 21); 22</pre> 23 </div> 24 <h2>Parameters</h2> 25 <div class="section"> 26 <table class="arguments"> 27 <thead> 28 <tr> 29 <td width="15" /> 30 <th>Name</th> 31 <td>Description</td> 32 </tr> 33 </thead> 34 <tr> 35 <td>out</td> 36 <th><CODE>pDst</CODE> </th> 37 <td>Buffer where decompressed data is written.</td> 38 </tr> 39 <tr> 40 <td>in</td> 41 <th><CODE>dstSize</CODE> </th> 42 <td>Size of the buffer pointed to by <SPAN class="argument">pDst</SPAN>.</td> 43 </tr> 44 <tr> 45 <td>in</td> 46 <th><CODE>pSrc</CODE> </th> 47 <td>Buffer storing the compressed data.</td> 48 </tr> 49 <tr> 50 <td>in</td> 51 <th><CODE>srcSize</CODE> </th> 52 <td>Size of the compressed data.</td> 53 </tr> 54 <tr> 55 <td>in</td> 56 <th><CODE>pWork</CODE> </th> 57 <td>Work buffer. It requires a region equal to <a href="../../nn/cx/UNCOMPRESS_ZLIB_WORK_SIZE.html"><CODE>UNCOMPRESS_ZLIB_WORK_SIZE</CODE></a> bytes.</td> 58 </tr> </table> 59 </div> 60 <h2>Return Values</h2> 61 <div class="section">When decompression succeeds, returns the data size after decompression. Returns an <a href="../../nn/cx/ErrorCode.html"><CODE>ErrorCode</CODE></a> value if unsuccessful. </div> 62 <h2>Description</h2> 63 <div class="section"> 64 <p>Decompresses deflate compressed data in zlib format.</p><p>You can decompress data compressed with the <a href="../../nn/cx/CompressZlib.html"><CODE>CompressZlib</CODE></a> function.</p><!-- write here --></div> 65 <h2>Revision History</h2> 66 <div class="section"> 67 <dl class="history"> 68 <dt>2012/05/17</dt> 69 <dd>Initial version. <br /> 70 </dd> 71 </dl> 72 </div> 73 <hr><p>CONFIDENTIAL</p></body> 74</html>