Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > media > contrib-updates > by-pkgid > 38e407a18d677238502174ba830049d4 > files > 28

ocamlviz-1.01-1.1mdv2010.1.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="Binary.html">
<link rel="next" href="Db.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="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Binary" rel="Chapter" href="Binary.html">
<link title="Bproto" rel="Chapter" href="Bproto.html">
<link title="Db" rel="Chapter" href="Db.html">
<link title="Graph" rel="Chapter" href="Graph.html">
<link title="Monitor_sig" rel="Chapter" href="Monitor_sig.html">
<link title="Ocamlviz" rel="Chapter" href="Ocamlviz.html">
<link title="Ocamlviz_threads" rel="Chapter" href="Ocamlviz_threads.html">
<link title="Protocol" rel="Chapter" href="Protocol.html">
<link title="Timemap" rel="Chapter" href="Timemap.html"><title>Bproto</title>
</head>
<body>
<div class="navbar"><a href="Binary.html">Previous</a>
&nbsp;<a href="index.html">Up</a>
&nbsp;<a href="Db.html">Next</a>
</div>
<center><h1>Module <a href="type_Bproto.html">Bproto</a></h1></center>
<br>
<pre><span class="keyword">module</span> Bproto: <code class="code">sig</code> <a href="Bproto.html">..</a> <code class="code">end</code></pre>Binary implementation of the protocol<br>
<hr width="100%">
<pre><span class="keyword">val</span> <a name="VALencode_one"></a>encode_one : <code class="type">Buffer.t -> <a href="Protocol.html#TYPEmsg">Protocol.msg</a> -> unit</code></pre><div class="info">
<code class="code">encode_one b m</code> encodes a message <code class="code">m</code> in the buffer <code class="code">b</code>.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALencode"></a>encode : <code class="type">Buffer.t -> <a href="Protocol.html#TYPEmsg">Protocol.msg</a> list -> unit</code></pre><div class="info">
<code class="code">encode b ml</code> encodes a message list <code class="code">ml</code> in the buffer <code class="code">b</code>.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALdecode_one"></a>decode_one : <code class="type">string -> int -> int -> <a href="Protocol.html#TYPEmsg">Protocol.msg</a> * int</code></pre><div class="info">
<code class="code">decode s first last</code> decodes messages using
      characters in <code class="code">s</code> from <code class="code">first</code> to <code class="code">last</code>;
      returns the messages together with the position right after
      the last decoded message.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALdump"></a>dump : <code class="type">string -> string -> int -> int -> unit</code></pre><div class="info">
DEBUG<br>
</div>
</body></html>