package camomile

  1. Overview
  2. Docs
A Unicode library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v2.1.0.tar.gz
md5=35c450853b72e286bef9b75ae4821621
sha512=fff70942e1866c5ad180a9de392a153809db7858f6d9f1067cd88db8b23b03643d09666abf09e6fae3d4da99f44570158b83170104cee68fdd5c1fc41b7c3e7b

doc/camomile.lib/CamomileLib/UTF16/Buf/index.html

Module UTF16.Buf

Buffer module for UTF-16

type buf
val create : int -> buf

create n : creates the buffer with the initial size n.

The rest of functions is similar to the ones of Buffer in stdlib.

val contents : buf -> t
val clear : buf -> unit
val reset : buf -> unit
val add_char : buf -> UChar.t -> unit

if the character is not representable, raise Out_of_range

val add_string : buf -> t -> unit
val add_buffer : buf -> buf -> unit