Uutf.Buffer
UTF encode characters in OCaml Buffer.t
values.
Note. Since OCaml 4.06, these encoders are available in Stdlib.Buffer
. You are encouraged to migrate to them.
val add_utf_8 : Stdlib.Buffer.t -> Stdlib.Uchar.t -> unit
add_utf_8 b u
adds the UTF-8 encoding of u
to b
.
val add_utf_16be : Stdlib.Buffer.t -> Stdlib.Uchar.t -> unit
add_utf_16be b u
adds the UTF-16BE encoding of u
to b
.
val add_utf_16le : Stdlib.Buffer.t -> Stdlib.Uchar.t -> unit
add_utf_16le b u
adds the UTF-16LE encoding of u
to b
.