module UTF8BufferImpl:sig..end
One is advised to use the Utils.UTF8Buffer module instead of this one.
type t
val default_size : intmake.val make : unit -> tdefault_size.val make_of_size : int -> tmake_of_size sz constructs an empty buffer, of size sz.
Raises Invalid_argument if sz is negative.val add_char : t -> UCharImpl.t -> unitadd_char b c appends char c to buffer b.val add_string : t -> UTF8Impl.t -> unitadd_char b s appends string s to buffer b.val add_endline : t -> UTF8Impl.t -> unitadd_char b s appends string s to buffer b,
and then also appends and end-of-line character.val contents : t -> UTF8Impl.tcontents b returns the contents of buffer b as an UTF8 string.