package bigstring

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type !'a gen = unit -> 'a option
type !'a sequence = ('a -> unit) -> unit
type !'a printer = Format.formatter -> 'a -> unit
val create : int -> t
val empty : t
val init : int -> (int -> char) -> t
val fill : t -> char -> unit
val fill_slice : t -> char -> int -> int -> unit
val size : t -> int
val length : t -> int
val get : t -> int -> char
val unsafe_get : t -> int -> char
val set : t -> int -> char -> unit
val unsafe_set : t -> int -> char -> unit
val blit : t -> int -> t -> int -> int -> unit
val copy : t -> t
val sub : t -> int -> int -> t
val fold : ('a -> char -> 'a) -> 'a -> t -> 'a
val foldi : ('a -> int -> char -> 'a) -> 'a -> t -> 'a
val iter : (char -> unit) -> t -> unit
val iteri : (int -> char -> unit) -> t -> unit
val equal : t -> t -> bool
val compare : t -> t -> int
val to_bytes : t -> Bytes.t
val of_bytes : Bytes.t -> t
val of_bytes_slice : Bytes.t -> int -> int -> t
val sub_bytes : t -> int -> int -> Bytes.t
val blit_to_bytes : t -> int -> Bytes.t -> int -> int -> unit
val blit_of_bytes : Bytes.t -> int -> t -> int -> int -> unit
val blit_of_buffer : Buffer.t -> int -> t -> int -> int -> unit
val to_string : t -> string
val of_string : string -> t
val of_string_slice : string -> int -> int -> t
val of_buffer : Buffer.t -> t
val of_gen : char gen -> t
val sub_string : t -> int -> int -> string
val blit_of_string : string -> int -> t -> int -> int -> unit
val to_seq : t -> char sequence
val to_gen : t -> char gen
val to_seq_slice : t -> int -> int -> char sequence
val to_gen_slice : t -> int -> int -> char gen
val to_buffer : t -> Buffer.t -> unit
val print : t printer
val concat : string -> t list -> t
val map : f:(char -> char) -> t -> t
val mapi : f:(int -> char -> char) -> t -> t
val lowercase : t -> t
val uppercase : t -> t
val trim : t -> t
val index : t -> c:char -> int
val rindex : t -> c:char -> int
val index_pred : f:(char -> bool) -> t -> int
val rindex_pred : f:(char -> bool) -> t -> int
val contains : t -> c:char -> bool
val for_all : f:(char -> bool) -> t -> bool
val exists : f:(char -> bool) -> t -> bool
val split : by:char -> t -> t list
val split_gen : by:char -> t -> t gen
val lines : t -> t list
val lines_gen : t -> t gen
val with_map_file : ?pos:int64 -> ?len:int -> ?mode:int -> ?flags:open_flag list -> ?shared:bool -> string -> (t -> 'a) -> 'a
val map_file_descr : ?pos:int64 -> ?shared:bool -> Unix.file_descr -> int -> t
OCaml

Innovation. Community. Security.