package camomile

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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
OCaml

Innovation. Community. Security.