package GuaCaml

  1. Overview
  2. Docs
val show_debug : bool ref
module REGULAR : sig ... end
module DEBUG : sig ... end
val get_byte : bytes -> int -> int
val set_byte : bytes -> int -> int -> unit
val array_unsafe_get : 'a array -> int -> 'a
val array_unsafe_set : 'a array -> int -> 'a -> unit
val bytes_unsafe_get : bytes -> int -> char
val bytes_unsafe_set : bytes -> int -> char -> unit
val string_unsafe_get : string -> int -> char
val (%+) : int -> int -> int
val mask2n : int -> int
val (%-) : int -> int -> int
type t = {
  1. length : int;
  2. bytes : Bytes.t;
}
val length : t -> int
val size : t -> int
val max_length : int
val low_mask_array : int array
val low_mask : int -> int
val high_mask : int -> int
val keep_lowest_bits : int -> int -> int
val (%%) : int -> int -> int
val keep_highest_bits : int -> int -> int
val to_bytes : ?copy:bool -> t -> int * bytes
val of_bytes : ?copy:bool -> (int * bytes) -> t
val bytes_create : string -> int -> int * t
val create : int -> t
val normalize : t -> unit
val checked : t -> bool
val make : int -> bool -> t
val copy : t -> t
val unsafe_get : t -> int -> bool
val get : t -> int -> bool
val unsafe_set : t -> int -> bool -> unit
val set : t -> int -> bool -> unit
val to_bool_array : t -> bool array
val to_bool_list_vanilla : t -> bool list
val to_bool_list_b8 : t -> bool list
val to_bool_list : t -> bool list
val of_bool_array : bool array -> t
val of_bool_list_vanilla : bool list -> t
val of_bool_list_b8 : bool list -> t
val of_bool_list : bool list -> t
val to_bool_string : t -> string
val of_bool_string : string -> t
val to_string : t -> string
val of_string : string -> t
val print : Format.formatter -> t -> unit
val to_rev_bool_array : t -> bool array
val to_rev_bool_list : t -> bool list
val of_rev_bool_array : bool array -> t
val of_rev_bool_list : bool list -> t
val to_rev_bool_string : t -> string
val of_rev_bool_string : string -> t
val to_rev_string : t -> string
val of_rev_string : string -> t
val print_rev : Format.formatter -> t -> unit
val sub_is_zero : t -> int -> int -> bool
val sub_is_one : t -> int -> int -> bool
val init : int -> (int -> bool) -> t
val random : int -> t
val unsafe_fill_ones : t -> int -> int -> unit
val unsafe_fill_zeros : t -> int -> int -> unit
val naive_fill : t -> int -> int -> bool -> unit
val fill : t -> int -> int -> bool -> unit
val iter : (bool -> 'a) -> t -> unit
val map : (bool -> bool) -> t -> t
val iteri : (int -> bool -> 'a) -> t -> unit
val mapi : (int -> bool -> bool) -> t -> t
val fold_left : ('a -> bool -> 'a) -> 'a -> t -> 'a
val fold_right : (bool -> 'a -> 'a) -> t -> 'a -> 'a
val foldi_left : ('a -> int -> bool -> 'a) -> 'a -> t -> 'a
val foldi_right : (int -> bool -> 'a -> 'a) -> t -> 'a -> 'a
val iteri_true : (int -> unit) -> t -> unit
val pop : t -> int
val fst_true : t -> int option
val fst_false : t -> int option
val lst_true : t -> int option
val lst_false : t -> int option
val bw_and : t -> t -> t
val bw_and' : t -> t -> t
val bw_or : t -> t -> t
val bw_or' : t -> t -> t
val bw_xor : t -> t -> t
val bw_xor' : t -> t -> t
val bw_not : t -> t
val bw_not' : t -> t
val of_list : int list -> t
val of_list_with_length : int list -> int -> t
val to_list : t -> int list
val to_hexa_string : t -> string
val of_hexa_string : string -> t
val pos : int -> int * int
val blit_bits : int -> int -> int -> bytes -> int -> unit
val blit_int : int -> bytes -> int -> unit
val internal_blit : bytes -> int -> bytes -> int -> int -> unit
val unsafe_blit : t -> int -> t -> int -> int -> unit
val blit : t -> int -> t -> int -> int -> unit
val unsafe_drop_first : t -> int -> t
val drop_first : t -> int -> t
val unsafe_drop_last : t -> int -> t
val drop_last : t -> int -> t
val append_zeros_first : t -> int -> t
val append_zeros_last : t -> int -> t
val internal_meta_shift_first : (int -> char) -> int -> (int -> char -> unit) -> int -> int -> char * char
val rev : t -> t
val to_stree : t -> string Tree.tree
val of_stree : string Tree.tree -> t
val o3_stree : (t -> string Tree.tree) * (string Tree.tree -> t)
val to_rev_hexa_string : t -> string
val of_rev_hexa_string : string -> t
val unsafe_sub : t -> int -> int -> t
val sub : t -> int -> int -> t
val append : t -> t -> t
val concat_array : t array -> t
val concat_list : t list -> t
val output_bin : out_channel -> t -> unit
val input_bin : in_channel -> t
val to_cha : Io.ToF.stream -> t -> unit
val of_cha : Io.OfF.stream -> t
val to_file : t -> string -> unit
val of_file : string -> t
module ToF : sig ... end
module OfF : sig ... end
OCaml

Innovation. Community. Security.