CamomileLibrary.UCS4.Buf

# Module CamomileLibrary.UCS4.Buf

    module Buf: sig .. end

Buffer module for UCS4

    type buf

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

    val create : int -> buf

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

    val contents : buf -> CamomileLibrary.UCS4.t

    val clear : buf -> unit

    val reset : buf -> unit

    val add_char : buf -> CamomileLibrary.UChar.t -> unit

    val add_string : buf -> CamomileLibrary.UCS4.t -> unit

    val add_buffer : buf -> buf -> unit