Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 7e661e52354c3398928bf511f54fefa4 > files > 60

ocaml-extlib-1.5.1-4.mga1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="UTF8.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Base64" rel="Chapter" href="Base64.html">
<link title="BitSet" rel="Chapter" href="BitSet.html">
<link title="Dllist" rel="Chapter" href="Dllist.html">
<link title="DynArray" rel="Chapter" href="DynArray.html">
<link title="Enum" rel="Chapter" href="Enum.html">
<link title="ExtArray" rel="Chapter" href="ExtArray.html">
<link title="ExtHashtbl" rel="Chapter" href="ExtHashtbl.html">
<link title="ExtList" rel="Chapter" href="ExtList.html">
<link title="ExtString" rel="Chapter" href="ExtString.html">
<link title="Global" rel="Chapter" href="Global.html">
<link title="IO" rel="Chapter" href="IO.html">
<link title="OptParse" rel="Chapter" href="OptParse.html">
<link title="Option" rel="Chapter" href="Option.html">
<link title="PMap" rel="Chapter" href="PMap.html">
<link title="RefList" rel="Chapter" href="RefList.html">
<link title="Std" rel="Chapter" href="Std.html">
<link title="UChar" rel="Chapter" href="UChar.html">
<link title="UTF8" rel="Chapter" href="UTF8.html">
<link title="Unzip" rel="Chapter" href="Unzip.html"><title>Unzip</title>
</head>
<body>
<div class="navbar"><a href="UTF8.html">Previous</a>
&nbsp;<a href="index.html">Up</a>
&nbsp;</div>
<center><h1>Module <a href="type_Unzip.html">Unzip</a></h1></center>
<br>
<pre><span class="keyword">module</span> Unzip: <code class="code">sig</code> <a href="Unzip.html">..</a> <code class="code">end</code></pre>Decompression algorithm.
<p>

	Unzip decompression algorithm is compliant with RFC 1950 and 1951 which
	are describing the "inflate" algorithm used in most popular file formats.
	This format is also the one used by the popular ZLib library.<br>
<hr width="100%">
<br><code><span id="TYPEerror_msg"><span class="keyword">type</span> <code class="type"></code>error_msg</span> = </code><table class="typetable">
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">Invalid_huffman</span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">Invalid_data</span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">Invalid_crc</span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">Truncated_data</span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">Unsupported_dictionary</span></code></td>

</tr></table>


<pre><span id="EXCEPTIONError"><span class="keyword">exception</span> Error</span> <span class="keyword">of</span> <code class="type"><a href="Unzip.html#TYPEerror_msg">error_msg</a></code></pre>
<pre><span id="VALinflate"><span class="keyword">val</span> inflate</span> : <code class="type">?header:bool -> <a href="IO.html#TYPEinput">IO.input</a> -> <a href="IO.html#TYPEinput">IO.input</a></code></pre><div class="info">
wrap an input using "inflate" decompression algorithm. raises <code class="code">Error</code> if
  an error occurs (this can only be caused by malformed input data).<br>
</div>
<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> </pre>

<pre><span id="VALinflate_init"><span class="keyword">val</span> inflate_init</span> : <code class="type">?header:bool -> <a href="IO.html#TYPEinput">IO.input</a> -> <a href="Unzip.html#TYPEt">t</a></code></pre><pre><span id="VALinflate_data"><span class="keyword">val</span> inflate_data</span> : <code class="type"><a href="Unzip.html#TYPEt">t</a> -> string -> int -> int -> int</code></pre></body></html>