Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 17b46c825a068f53c19c7798e96fdba2 > files > 75

ocaml-extlib-devel-1.5.3-2.fc18.i686.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 class="up" href="UTF8.html" title="UTF8">Up</a>
&nbsp;</div>
<h1>Module <a href="type_UTF8.Buf.html">UTF8.Buf</a></h1>
<pre><span class="keyword">module</span> Buf: <code class="code">sig</code> <a href="UTF8.Buf.html">..</a> <code class="code">end</code></pre><div class="info">
Buffer module for UTF-8 strings<br>
</div>
<hr width="100%">
<pre><span id="TYPEbuf"><span class="keyword">type</span> <code class="type"></code>buf</span> </pre>
<div class="info">
Buffers for UTF-8 strings.<br>
</div>

<pre><span id="VALcreate"><span class="keyword">val</span> create</span> : <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 id="VALcontents"><span class="keyword">val</span> contents</span> : <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 id="VALclear"><span class="keyword">val</span> clear</span> : <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 id="VALreset"><span class="keyword">val</span> reset</span> : <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 id="VALadd_char"><span class="keyword">val</span> add_char</span> : <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 id="VALadd_string"><span class="keyword">val</span> add_string</span> : <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 id="VALadd_buffer"><span class="keyword">val</span> add_buffer</span> : <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>