package decompress

  1. Overview
  2. Docs
val invalid_arg : ('a, unit, string, 'b) Pervasives.format4 -> 'a
include module type of struct include Bytes end
val length : bytes -> int
val get : bytes -> int -> char
val set : bytes -> int -> char -> unit
val create : int -> bytes
val make : int -> char -> bytes
val init : int -> (int -> char) -> bytes
val empty : bytes
val copy : bytes -> bytes
val of_string : string -> bytes
val to_string : bytes -> string
val sub : bytes -> int -> int -> bytes
val sub_string : bytes -> int -> int -> string
val extend : bytes -> int -> int -> bytes
val fill : bytes -> int -> int -> char -> unit
val blit_string : string -> int -> bytes -> int -> int -> unit
val concat : bytes -> bytes list -> bytes
val cat : bytes -> bytes -> bytes
val iter : (char -> unit) -> bytes -> unit
val iteri : (int -> char -> unit) -> bytes -> unit
val map : (char -> char) -> bytes -> bytes
val mapi : (int -> char -> char) -> bytes -> bytes
val trim : bytes -> bytes
val escaped : bytes -> bytes
val index : bytes -> char -> int
val index_opt : bytes -> char -> int option
val rindex : bytes -> char -> int
val rindex_opt : bytes -> char -> int option
val index_from : bytes -> int -> char -> int
val index_from_opt : bytes -> int -> char -> int option
val rindex_from : bytes -> int -> char -> int
val rindex_from_opt : bytes -> int -> char -> int option
val contains : bytes -> char -> bool
val contains_from : bytes -> int -> char -> bool
val rcontains_from : bytes -> int -> char -> bool
val uppercase : bytes -> bytes
  • deprecated Use Bytes.uppercase_ascii instead.
val lowercase : bytes -> bytes
  • deprecated Use Bytes.lowercase_ascii instead.
val capitalize : bytes -> bytes
  • deprecated Use Bytes.capitalize_ascii instead.
val uncapitalize : bytes -> bytes
  • deprecated Use Bytes.uncapitalize_ascii instead.
val uppercase_ascii : bytes -> bytes
val lowercase_ascii : bytes -> bytes
val capitalize_ascii : bytes -> bytes
val uncapitalize_ascii : bytes -> bytes
type t = bytes
val compare : t -> t -> int
val equal : t -> t -> bool
val unsafe_to_string : bytes -> string
val unsafe_of_string : string -> bytes
val unsafe_get : bytes -> int -> char
val unsafe_set : bytes -> int -> char -> unit
val unsafe_fill : bytes -> int -> int -> char -> unit
val get_unsafe_16 : t -> int -> int
val get_unsafe_32 : t -> int -> int32
val get_unsafe_64 : t -> int -> int64
val get_16 : bytes -> int -> int
val get_32 : bytes -> int -> int32
val get_64 : bytes -> int -> int64
val set_unsafe_16 : t -> int -> int -> unit
val set_unsafe_32 : t -> int -> int32 -> unit
val set_unsafe_64 : t -> int -> int64 -> unit
val set_16 : bytes -> int -> int -> unit
val set_32 : bytes -> int -> int32 -> unit
val set_64 : bytes -> int -> int64 -> unit
val unsafe_blit : bytes -> int -> bytes -> int -> int -> unit
val blit : bytes -> int -> bytes -> int -> int -> unit
val blit2 : bytes -> int -> bytes -> int -> bytes -> int -> int -> unit
val pp : Format.formatter -> bytes -> unit
OCaml

Innovation. Community. Security.