package git

  1. Overview
  2. Docs
exception Error of string * string
val compress : ?level:int -> ?header:bool -> (bytes -> int) -> (bytes -> int -> unit) -> unit
type stream
type flush_command =
  1. | Z_NO_FLUSH
  2. | Z_SYNC_FLUSH
  3. | Z_FULL_FLUSH
  4. | Z_FINISH
val inflate_init : bool -> stream
val inflate : stream -> bytes -> int -> int -> bytes -> int -> int -> flush_command -> bool * int * int
val inflate_end : stream -> unit