package sosa

  1. Overview
  2. Docs
type character
type t
val empty : t
val max_string_length : int option
val make : int -> character -> t
val length : t -> int
val compare : t -> t -> int
val compare_char : character -> character -> int
val get : t -> int -> character
val set : t -> int -> character -> unit
val blit : src:t -> src_pos:int -> dst:t -> dst_pos:int -> len:int -> unit
val is_whitespace : character -> bool
val of_native_string : string -> (t, [> `wrong_char_at of int ]) result
val of_native_substring : string -> offset:int -> length:int -> (t, [> `out_of_bounds | `wrong_char_at of int ]) result
val to_native_string : t -> string
OCaml

Innovation. Community. Security.