package base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

UTF-32 little-endian encoding. See Utf interface.

to_string encodes a Unicode scalar value in this encoding.

of_string interprets a string as one Unicode scalar value in this encoding, and raises if the string cannot be interpreted as such.

include Stringable.S with type t := Uchar.t
val of_string : string -> Uchar.t
val to_string : Uchar.t -> string
val byte_length : Uchar.t -> int

Returns the number of bytes used for a given scalar value in this encoding.

val codec_name : string

The name of this encoding scheme; e.g., "UTF-8".

OCaml

Innovation. Community. Security.