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