package decompress

  1. Overview
  2. Docs
module Bigstring = Decompress_bigstring
module Bytes = Decompress_bytes
type 'a t =
  1. | Bytes : Bytes.t t
  2. | Bigstring : Bigstring.t t
val bytes : Bytes.t t
val bigstring : Bigstring.t t
val create : 'a. 'a t -> int -> 'a
val length : 'a. 'a t -> 'a -> int
val get : 'a. 'a t -> 'a -> int -> char
val set : 'a. 'a t -> 'a -> int -> char -> unit
val get_16 : 'a. 'a t -> 'a -> int -> int
val get_32 : 'a. 'a t -> 'a -> int -> int32
val get_64 : 'a. 'a t -> 'a -> int -> int64
val set_16 : 'a. 'a t -> 'a -> int -> int -> unit
val set_32 : 'a. 'a t -> 'a -> int -> int32 -> unit
val set_64 : 'a. 'a t -> 'a -> int -> int64 -> unit
val sub : 'a. 'a t -> 'a -> int -> int -> 'a
val fill : 'a. 'a t -> 'a -> int -> int -> char -> unit
val blit : 'a. 'a t -> 'a -> int -> 'a -> int -> int -> unit
val blit2 : 'a. 'a t -> 'a -> int -> 'a -> int -> 'a -> int -> int -> unit
val blit_string : 'a. 'a t -> string -> int -> 'a -> int -> int -> unit
val pp : 'a. 'a t -> Stdlib.Format.formatter -> 'a -> unit
val to_string : 'a. 'a t -> 'a -> string
val empty : 'a. 'a t -> 'a
OCaml

Innovation. Community. Security.