package decompress

  1. Overview
  2. Docs
module Bigstring : sig ... end
module Bytes : sig ... end
type st =
  1. | St
type bs =
  1. | Bs
type 'a t =
  1. | Bytes : Bytes.t -> st t
  2. | Bigstring : Bigstring.t -> bs t
val from_bytes : Bytes.t -> st t
val from_bigstring : Bigstring.t -> bs t
val from : 'a. proof:'a t -> int -> 'a t
val length : 'a. 'a t -> int
val get : 'a. 'a t -> int -> char
val set : 'a. 'a t -> int -> char -> unit
val get_u16 : 'a. 'a t -> int -> int
val get_u32 : 'a. 'a t -> int -> Int32.t
val get_u64 : 'a. 'a t -> int -> Int64.t
val set_u16 : 'a. 'a t -> int -> int -> unit
val set_u32 : 'a. 'a t -> int -> int32 -> unit
val set_u64 : 'a. 'a t -> int -> int64 -> unit
val sub : 'a. 'a t -> int -> int -> 'a t
val fill : 'a. 'a t -> int -> int -> char -> unit
val blit : 'a. 'a t -> int -> 'a t -> int -> int -> unit
val blit2 : 'a. 'a t -> int -> 'a t -> int -> 'a t -> int -> int -> unit
val pp : 'a. Format.formatter -> 'a t -> unit
val to_string : 'a. 'a t -> string
val empty : 'a. proof:'a t -> 'a t
val proof_bytes : st t
val proof_bigstring : bs t