Module UText.BufSource

Sourcetype buf
Sourceval create : int -> buf

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

Sourceval contents : buf -> t
Sourceval contents_string : buf -> ustring
Sourceval length : buf -> int
Sourceval clear : buf -> unit
Sourceval reset : buf -> unit
Sourceval add_char : buf -> UChar.t -> unit
Sourceval add_string : buf -> 'a text -> unit
Sourceval add_buffer : buf -> buf -> unit