package camlzip

  1. Overview
  2. Docs
Accessing compressed files in ZIP, GZIP and JAR format

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.14.tar.gz
sha256=d2ce7ebc4d3b7c029daecd0b491a36163b22f7e1d95e86224d4a27a101f36177
sha512=b623efc5c5cfc28bad54dcb74f3d08e8cc4b9216d739e23cf3886d2490ef78c518ec37a344121fe1dab0a40e61b5c6e9908c8f12305a0754aaf9278a32c1dba6

doc/zip/Zlib/index.html

Module Zlib

exception Error of string * string
val compress : ?level:int -> ?header:bool -> (bytes -> int) -> (bytes -> int -> unit) -> unit
val compress_direct : ?level:int -> ?header:bool -> (bytes -> int -> unit) -> (bytes -> int -> int -> unit) * (unit -> unit)
val uncompress : ?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 deflate_init : int -> bool -> stream
val deflate : stream -> bytes -> int -> int -> bytes -> int -> int -> flush_command -> bool * int * int
val deflate_string : stream -> string -> int -> int -> bytes -> int -> int -> flush_command -> bool * int * int
val deflate_end : stream -> unit
val inflate_init : bool -> stream
val inflate : stream -> bytes -> int -> int -> bytes -> int -> int -> flush_command -> bool * int * int
val inflate_string : stream -> string -> int -> int -> bytes -> int -> int -> flush_command -> bool * int * int
val inflate_end : stream -> unit
val update_crc : int32 -> bytes -> int -> int -> int32
val update_crc_string : int32 -> string -> int -> int -> int32