CamomileLibrary.Type.UText.Buf

# Module CamomileLibrary.Type.UText.Buf

    module Buf: sig .. end

    type buf

    val create : int -> buf

`create n` creates the buffer which initially can contain `n` Unicode characters.

    val contents : buf -> CamomileLibrary.Type.UText.t

    val contents_string : buf -> CamomileLibrary.Type.UText.ustring

    val length : buf -> int

    val clear : buf -> unit

    val reset : buf -> unit

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

    val add_string : buf ->
           'a CamomileLibrary.Type.UText.text -> unit

    val add_buffer : buf ->
           buf -> unit