Module Main.Type.UTF16.Buf


module Buf: sig .. end

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 -> Main.Type.UTF16.t
val clear : buf -> unit
val reset : buf -> unit
if the character is not representable, raise Out_of_range
val add_char : buf -> Main.Type.UChar.t -> unit
val add_string : buf -> Main.Type.UTF16.t -> unit
val add_buffer : buf -> buf -> unit