Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > c7b8d5922a45aeb64a36e62c8024cf09 > files > 70

ocaml-async_extra-devel-109.24.00-2.mga4.x86_64.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="Std.Typed_tcp.html">
<link rel="next" href="Std.User_and_group.html">
<link rel="Up" href="Std.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="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Command" rel="Chapter" href="Command.html">
<link title="File_tail" rel="Chapter" href="File_tail.html">
<link title="File_writer" rel="Chapter" href="File_writer.html">
<link title="Import" rel="Chapter" href="Import.html">
<link title="Lock_file" rel="Chapter" href="Lock_file.html">
<link title="Log" rel="Chapter" href="Log.html">
<link title="Persistent_singleton" rel="Chapter" href="Persistent_singleton.html">
<link title="Rpc" rel="Chapter" href="Rpc.html">
<link title="Rpc_intf" rel="Chapter" href="Rpc_intf.html">
<link title="Std" rel="Chapter" href="Std.html">
<link title="Tcp" rel="Chapter" href="Tcp.html">
<link title="Tcp_file" rel="Chapter" href="Tcp_file.html">
<link title="Typed_tcp" rel="Chapter" href="Typed_tcp.html">
<link title="Typed_tcp_intf" rel="Chapter" href="Typed_tcp_intf.html">
<link title="Unpack_sequence" rel="Chapter" href="Unpack_sequence.html">
<link title="User_and_group" rel="Chapter" href="User_and_group.html">
<link title="Versioned_rpc" rel="Chapter" href="Versioned_rpc.html">
<link title="Versioned_typed_tcp" rel="Chapter" href="Versioned_typed_tcp.html">
<link title="Weak_hashtbl" rel="Chapter" href="Weak_hashtbl.html"><title>Std.Unpack_sequence</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Std.Typed_tcp.html" title="Std.Typed_tcp">Previous</a>
&nbsp;<a class="up" href="Std.html" title="Std">Up</a>
&nbsp;<a class="post" href="Std.User_and_group.html" title="Std.User_and_group">Next</a>
</div>
<h1>Module <a href="type_Std.Unpack_sequence.html">Std.Unpack_sequence</a></h1>

<pre><span class="keyword">module</span> Unpack_sequence: <code class="type">Unpack_sequence</code></pre><hr width="100%">

<pre><span class="keyword">module</span> <a href="Unpack_sequence.Result.html">Result</a>: <code class="code">sig</code> <a href="Unpack_sequence.Result.html">..</a> <code class="code">end</code></pre>
<pre><span id="VALunpack_from_string_pipe"><span class="keyword">val</span> unpack_from_string_pipe</span> : <code class="type">('a, 'b) Core.Std.Unpack_buffer.t -><br>       string Import.Pipe.Reader.t -><br>       'a Import.Pipe.Reader.t * ('a, 'b) <a href="Unpack_sequence.Result.html#TYPEt">Result.t</a> Import.Deferred.t</code></pre><div class="info ">
<code class="code">unpack_from_string_pipe unpack_buffer input</code> returns <code class="code">(output, result)</code>, and uses
    <code class="code">unpack_buffer</code> to unpack values from <code class="code">input</code> until <code class="code">input</code> is closed.  It puts the
    unpacked values into <code class="code">output</code>, which is closed once unpacking finishes, normally
    or due to an error.  <code class="code">result</code> indicates why unpacking finished.
<p>

    <code class="code">unpack_from_reader</code> and <code class="code">unpack_bin_prot_from_reader</code> are similar.  They are more
    efficient in that they blit bytes directly from the reader buffer to the unpack
    buffer, without any intervening allocation.<br>
</div>

<pre><span id="VALunpack_from_reader"><span class="keyword">val</span> unpack_from_reader</span> : <code class="type">('a, 'b) Core.Std.Unpack_buffer.t -><br>       Import.Reader.t -><br>       'a Import.Pipe.Reader.t * ('a, 'b) <a href="Unpack_sequence.Result.html#TYPEt">Result.t</a> Import.Deferred.t</code></pre>
<pre><span id="VALunpack_bin_prot_from_reader"><span class="keyword">val</span> unpack_bin_prot_from_reader</span> : <code class="type">'a Core.Std.Bin_prot.Type_class.reader -><br>       Import.Reader.t -><br>       'a Import.Pipe.Reader.t *<br>       ('a, unit) <a href="Unpack_sequence.Result.html#TYPEt">Result.t</a> Import.Deferred.t</code></pre></body></html>