<!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="Zip.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 modules" rel=Appendix href="index_modules.html"> <link title="Gzip" rel="Chapter" href="Gzip.html"> <link title="Zip" rel="Chapter" href="Zip.html"> <link title="Zlib" rel="Chapter" href="Zlib.html"><title>Zlib</title> </head> <body> <div class="navbar"><a href="Zip.html">Previous</a> <a href="index.html">Up</a> </div> <center><h1>Module <a href="type_Zlib.html">Zlib</a></h1></center> <br> <pre><span class="keyword">module</span> Zlib: <code class="code"><span class="keyword">sig</span></code> <a href="Zlib.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><hr width="100%"> <pre><span class="keyword">exception</span> <a name="EXCEPTIONError"></a>Error <span class="keyword">of</span> <code class="type">string * string</code></pre> <pre><span class="keyword">val</span> <a name="VALcompress"></a>compress : <code class="type">?level:int -><br> ?header:bool -> (string -> int) -> (string -> int -> unit) -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALcompress_direct"></a>compress_direct : <code class="type">?level:int -><br> ?header:bool -><br> (string -> int -> unit) -> (string -> int -> int -> unit) * (unit -> unit)</code></pre><pre><span class="keyword">val</span> <a name="VALuncompress"></a>uncompress : <code class="type">?header:bool -> (string -> int) -> (string -> int -> unit) -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALplain_uncompress"></a>plain_uncompress : <code class="type">string -> int -> string -> int -> bool</code></pre><pre><span class="keyword">type</span> <a name="TYPEstream"></a><code class="type"></code>stream </pre> <br><code><span class="keyword">type</span> <a name="TYPEflush_command"></a><code class="type"></code>flush_command = </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">Z_NO_FLUSH</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">Z_SYNC_FLUSH</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">Z_FULL_FLUSH</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">Z_FINISH</span></code></td> </tr></table> <pre><span class="keyword">val</span> <a name="VALdeflate_init"></a>deflate_init : <code class="type">int -> bool -> <a href="Zlib.html#TYPEstream">stream</a></code></pre><pre><span class="keyword">val</span> <a name="VALdeflate"></a>deflate : <code class="type"><a href="Zlib.html#TYPEstream">stream</a> -><br> string -><br> int -> int -> string -> int -> int -> <a href="Zlib.html#TYPEflush_command">flush_command</a> -> bool * int * int</code></pre><pre><span class="keyword">val</span> <a name="VALdeflate_end"></a>deflate_end : <code class="type"><a href="Zlib.html#TYPEstream">stream</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALinflate_init"></a>inflate_init : <code class="type">bool -> <a href="Zlib.html#TYPEstream">stream</a></code></pre><pre><span class="keyword">val</span> <a name="VALinflate"></a>inflate : <code class="type"><a href="Zlib.html#TYPEstream">stream</a> -><br> string -><br> int -> int -> string -> int -> int -> <a href="Zlib.html#TYPEflush_command">flush_command</a> -> bool * int * int</code></pre><pre><span class="keyword">val</span> <a name="VALinflate_end"></a>inflate_end : <code class="type"><a href="Zlib.html#TYPEstream">stream</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALupdate_crc"></a>update_crc : <code class="type">int32 -> string -> int -> int -> int32</code></pre></body></html>