package uutf

  1. Overview
  2. Docs
On This Page
  1. Buffer encoders
Legend:
Library
Module
Module type
Parameter
Class
Class type

UTF encode characters in OCaml Buffer.t values.

Buffer encoders

val add_utf_8 : Buffer.t -> Uchar.t -> unit

add_utf_8 b u adds the UTF-8 encoding of u to b.

val add_utf_16be : Buffer.t -> Uchar.t -> unit

add_utf_16be b u adds the UTF-16BE encoding of u to b.

val add_utf_16le : Buffer.t -> Uchar.t -> unit

add_utf_16le b u adds the UTF-16LE encoding of u to b.

OCaml

Innovation. Community. Security.