Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 6fd5939a63d29067c5ab016a476cd3df > files > 58

ocaml-extlib-1.5.1-3mdv2010.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="Up" href="UTF8.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>UTF8.Buf</title>
</head>
<body>
<div class="navbar">&nbsp;<a href="UTF8.html">Up</a>
&nbsp;</div>
<center><h1>Module <a href="type_UTF8.Buf.html">UTF8.Buf</a></h1></center>
<br>
<pre><span class="keyword">module</span> Buf: <code class="code">sig</code> <a href="UTF8.Buf.html">..</a> <code class="code">end</code></pre>Buffer module for UTF-8 strings<br>
<hr width="100%">
<pre><span class="keyword">type</span> <a name="TYPEbuf"></a><code class="type"></code>buf </pre>
<div class="info">
Buffers for UTF-8 strings.<br>
</div>

<pre><span class="keyword">val</span> <a name="VALcreate"></a>create : <code class="type">int -> <a href="UTF8.Buf.html#TYPEbuf">buf</a></code></pre><div class="info">
<code class="code">create n</code> creates a buffer with the initial size <code class="code">n</code>-bytes.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALcontents"></a>contents : <code class="type"><a href="UTF8.Buf.html#TYPEbuf">buf</a> -> <a href="UTF8.html#TYPEt">UTF8.t</a></code></pre><div class="info">
<code class="code">contents buf</code> returns the contents of the buffer.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALclear"></a>clear : <code class="type"><a href="UTF8.Buf.html#TYPEbuf">buf</a> -> unit</code></pre><div class="info">
Empty the buffer, 
     but retains the internal storage which was holding the contents<br>
</div>
<pre><span class="keyword">val</span> <a name="VALreset"></a>reset : <code class="type"><a href="UTF8.Buf.html#TYPEbuf">buf</a> -> unit</code></pre><div class="info">
Empty the buffer and de-allocate the internal storage.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALadd_char"></a>add_char : <code class="type"><a href="UTF8.Buf.html#TYPEbuf">buf</a> -> <a href="UChar.html#TYPEuchar">UChar.uchar</a> -> unit</code></pre><div class="info">
Add one Unicode character to the buffer.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALadd_string"></a>add_string : <code class="type"><a href="UTF8.Buf.html#TYPEbuf">buf</a> -> <a href="UTF8.html#TYPEt">UTF8.t</a> -> unit</code></pre><div class="info">
Add the UTF-8 string to the buffer.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALadd_buffer"></a>add_buffer : <code class="type"><a href="UTF8.Buf.html#TYPEbuf">buf</a> -> <a href="UTF8.Buf.html#TYPEbuf">buf</a> -> unit</code></pre><div class="info">
<code class="code">add_buffer b1 b2</code> adds the contents of <code class="code">b2</code> to <code class="code">b1</code>.
     The contents of <code class="code">b2</code> is not changed.<br>
</div>
</body></html>