Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 72ce4b57ce48155a1f0e8d146edc8f19 > files > 8

ocaml-xmlm-devel-1.0.1-2mdv2010.0.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="Xmlm.String.html">
<link rel="next" href="Xmlm.S.html">
<link rel="Up" href="Xmlm.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="Xmlm" rel="Chapter" href="Xmlm.html"><title>Xmlm.Buffer</title>
</head>
<body>
<div class="navbar"><a href="Xmlm.String.html">Previous</a>
&nbsp;<a href="Xmlm.html">Up</a>
&nbsp;<a href="Xmlm.S.html">Next</a>
</div>
<center><h1>Module type <a href="type_Xmlm.Buffer.html">Xmlm.Buffer</a></h1></center>
<br>
<pre><span class="keyword">module type</span> Buffer = <code class="code"><span class="keyword">sig</span></code> <a href="Xmlm.Buffer.html">..</a> <code class="code"><span class="keyword">end</span></code></pre>Input signature for internal buffers.<br>
<hr width="100%">
<pre><span class="keyword">type</span> <a name="TYPEstring"></a><code class="type"></code>string </pre>
<div class="info">
The type for strings.<br>
</div>

<pre><span class="keyword">type</span> <a name="TYPEt"></a><code class="type"></code>t </pre>
<div class="info">
The type for buffers.<br>
</div>

<pre><span class="keyword">exception</span> <a name="EXCEPTIONFull"></a>Full</pre>
<div class="info">
Raised if the buffer cannot be grown.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALcreate"></a>create : <code class="type">int -> <a href="Xmlm.Buffer.html#TYPEt">t</a></code></pre><div class="info">
Creates a buffer of the given size.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALadd_uchar"></a>add_uchar : <code class="type"><a href="Xmlm.Buffer.html#TYPEt">t</a> -> int -> unit</code></pre><div class="info">
Adds the given (guaranteed valid) unicode
      <a href="http://www.unicode.org/glossary/#code_point">code point</a> to a
      buffer. 
<p>

      <b>Raises</b> <a href="Xmlm.Buffer.html#EXCEPTIONFull"><code class="code"><span class="constructor">Xmlm</span>.<span class="constructor">Buffer</span>.<span class="constructor">Full</span></code></a> if the buffer cannot be grown.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALclear"></a>clear : <code class="type"><a href="Xmlm.Buffer.html#TYPEt">t</a> -> unit</code></pre><div class="info">
Clears the buffer.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALcontents"></a>contents : <code class="type"><a href="Xmlm.Buffer.html#TYPEt">t</a> -> <a href="Xmlm.Buffer.html#TYPEstring">string</a></code></pre><div class="info">
Returns the buffer contents.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALlength"></a>length : <code class="type"><a href="Xmlm.Buffer.html#TYPEt">t</a> -> int</code></pre><div class="info">
Returns the number of characters contained in the buffer.<br>
</div>
</body></html>