package decompress

  1. Overview
  2. Docs
type bigstring = (char, Stdlib.Bigarray.int8_unsigned_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Array1.t
type optint = Optint.t
type src = [
  1. | `Channel of Stdlib.in_channel
  2. | `String of string
  3. | `Manual
]
type decode = [
  1. | `Flush
  2. | `Await
  3. | `End
]
type state
type literals = De.literals
type distances = De.distances
type window
val literals : state -> literals
val distances : state -> distances
val checksum : state -> optint
val src : state -> bigstring -> int -> int -> unit
val src_rem : state -> int
val make_window : bits:int -> window
val compress : state -> decode
val state : ?level:int -> q:De.Queue.t -> w:window -> src -> state