`sig
type t =
(int, Bigarray.int16_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t
exception Malformed_code
val validate : CamomileLibrary.Type.UTF16.t -> unit
val get :
CamomileLibrary.Type.UTF16.t -> int -> CamomileLibrary.Type.UChar.t
exception Out_of_range
val init :
int ->
(int -> CamomileLibrary.Type.UChar.t) -> CamomileLibrary.Type.UTF16.t
val length : CamomileLibrary.Type.UTF16.t -> int
type index = int
val nth :
CamomileLibrary.Type.UTF16.t -> int -> CamomileLibrary.Type.UTF16.index
val first :
CamomileLibrary.Type.UTF16.t -> CamomileLibrary.Type.UTF16.index
val last : CamomileLibrary.Type.UTF16.t -> CamomileLibrary.Type.UTF16.index
val look :
CamomileLibrary.Type.UTF16.t ->
CamomileLibrary.Type.UTF16.index -> CamomileLibrary.Type.UChar.t
val out_of_range :
CamomileLibrary.Type.UTF16.t -> CamomileLibrary.Type.UTF16.index -> bool
val compare_index :
CamomileLibrary.Type.UTF16.t ->
CamomileLibrary.Type.UTF16.index ->
CamomileLibrary.Type.UTF16.index -> int
val next :
CamomileLibrary.Type.UTF16.t ->
CamomileLibrary.Type.UTF16.index -> CamomileLibrary.Type.UTF16.index
val prev :
CamomileLibrary.Type.UTF16.t ->
CamomileLibrary.Type.UTF16.index -> CamomileLibrary.Type.UTF16.index
val move :
CamomileLibrary.Type.UTF16.t ->
CamomileLibrary.Type.UTF16.index ->
int -> CamomileLibrary.Type.UTF16.index
val iter :
(CamomileLibrary.Type.UChar.t -> unit) ->
CamomileLibrary.Type.UTF16.t -> unit
val compare :
CamomileLibrary.Type.UTF16.t -> CamomileLibrary.Type.UTF16.t -> int
module Buf :
sig
type buf
val create : int -> CamomileLibrary.Type.UTF16.Buf.buf
val contents :
CamomileLibrary.Type.UTF16.Buf.buf -> CamomileLibrary.Type.UTF16.t
val clear : CamomileLibrary.Type.UTF16.Buf.buf -> unit
val reset : CamomileLibrary.Type.UTF16.Buf.buf -> unit
val add_char :
CamomileLibrary.Type.UTF16.Buf.buf ->
CamomileLibrary.Type.UChar.t -> unit
val add_string :
CamomileLibrary.Type.UTF16.Buf.buf ->
CamomileLibrary.Type.UTF16.t -> unit
val add_buffer :
CamomileLibrary.Type.UTF16.Buf.buf ->
CamomileLibrary.Type.UTF16.Buf.buf -> unit
end
end`