CamomileLibrary.Type.UnicodeString.Type.Buf

# Module CamomileLibrary.Type.UnicodeString.Type.Buf

    module Buf: sig .. end

Character buffers. Similar to Buffer.

    type buf

    val create : int -> buf

`create n` creates the buffer. `n` is used to determine the initial size of the buffer. The meaning of `n` differs from modules to modules.

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

    val clear : buf -> unit

    val reset : buf -> unit

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

    val add_string : buf ->
           CamomileLibrary.Type.UnicodeString.Type.t -> unit

    val add_buffer : buf ->
           buf -> unit