package camomile

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

Buffer module for UCS4

type buf

create n creates the buffer with the initial size n.

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
val add_string : buf -> t -> unit
val add_buffer : buf -> buf -> unit
OCaml

Innovation. Community. Security.