<!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="CamomileLibrary.UCS4.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 class types" rel=Appendix href="index_class_types.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="CamomileLibrary" rel="Chapter" href="CamomileLibrary.html"> <link title="CamomileLibraryDefault" rel="Chapter" href="CamomileLibraryDefault.html"> <link title="CamomileLibraryDyn" rel="Chapter" href="CamomileLibraryDyn.html"><title>CamomileLibrary.UCS4.Buf</title> </head> <body> <div class="navbar"> <a class="up" href="CamomileLibrary.UCS4.html" title="CamomileLibrary.UCS4">Up</a> </div> <h1>Module <a href="type_CamomileLibrary.UCS4.Buf.html">CamomileLibrary.UCS4.Buf</a></h1> <pre><span class="keyword">module</span> Buf: <code class="code">sig</code> <a href="CamomileLibrary.UCS4.Buf.html">..</a> <code class="code">end</code></pre><div class="info module top"> Buffer module for UCS4<br> </div> <hr width="100%"> <pre><span id="TYPEbuf"><span class="keyword">type</span> <code class="type"></code>buf</span> </pre> <div class="info "> <code class="code">create n</code> creates the buffer with the initial size <code class="code">n</code>.<br> </div> <pre><span id="VALcreate"><span class="keyword">val</span> create</span> : <code class="type">int -> <a href="CamomileLibrary.UCS4.Buf.html#TYPEbuf">buf</a></code></pre><br> The rest of functions is similar to the ones of Buffer in stdlib.<br> <pre><span id="VALcontents"><span class="keyword">val</span> contents</span> : <code class="type"><a href="CamomileLibrary.UCS4.Buf.html#TYPEbuf">buf</a> -> <a href="CamomileLibrary.UCS4.html#TYPEt">CamomileLibrary.UCS4.t</a></code></pre> <pre><span id="VALclear"><span class="keyword">val</span> clear</span> : <code class="type"><a href="CamomileLibrary.UCS4.Buf.html#TYPEbuf">buf</a> -> unit</code></pre> <pre><span id="VALreset"><span class="keyword">val</span> reset</span> : <code class="type"><a href="CamomileLibrary.UCS4.Buf.html#TYPEbuf">buf</a> -> unit</code></pre> <pre><span id="VALadd_char"><span class="keyword">val</span> add_char</span> : <code class="type"><a href="CamomileLibrary.UCS4.Buf.html#TYPEbuf">buf</a> -> <a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> -> unit</code></pre> <pre><span id="VALadd_string"><span class="keyword">val</span> add_string</span> : <code class="type"><a href="CamomileLibrary.UCS4.Buf.html#TYPEbuf">buf</a> -> <a href="CamomileLibrary.UCS4.html#TYPEt">CamomileLibrary.UCS4.t</a> -> unit</code></pre> <pre><span id="VALadd_buffer"><span class="keyword">val</span> add_buffer</span> : <code class="type"><a href="CamomileLibrary.UCS4.Buf.html#TYPEbuf">buf</a> -> <a href="CamomileLibrary.UCS4.Buf.html#TYPEbuf">buf</a> -> unit</code></pre></body></html>