package camomile

  1. Overview
  2. No Docs
A Unicode library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

camomile-1.0.2.tbz
sha256=f0a419b0affc36500f83b086ffaa36c545560cee5d57e84b729e8f851b3d1632
sha512=7586422e68779476206027c6ebbe19b677fbe459153221f7c952c7fae374c5c8232249cb76fdb1f482069707aa1580be827cd39693906142988268b7f0e7f6d0

doc/camomile.library/CamomileLibrary/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
OCaml

Innovation. Community. Security.