# Module CamomileLibrary.UTF16.Buf

    module Buf: sig .. end

Buffer module for UTF-16

    type buf

    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 -> CamomileLibrary.UTF16.t

    val clear : buf -> unit

    val reset : buf -> unit

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

if the character is not representable, raise Out_of_range

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

    val add_buffer : buf -> buf -> unit