package camomile

  1. Overview
  2. Docs
A Unicode library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

camomile-1.0.1.tbz
sha256=c23b0a39cb36fd130168d3eba7cb4a91fbd35982b6cb2320ce5b06f271965a07
md5=82e016653431353a07f22c259adc6e05

doc/camomile.library/CamomileLibrary/UTF16/Buf/index.html

Module UTF16.BufSource

Buffer module for UTF-16

Sourcetype buf
Sourceval 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.

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

if the character is not representable, raise Out_of_range

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