package camlzip

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

Install

Dune Dependency

Authors

Maintainers

Sources

rel113.tar.gz
sha256=8a038692ac811cdd2fdff9b37b5892b7a912c2042641187eae29757d98565d9e
sha512=dc0fff718b089b89b753fe7d70f100f005b4bb4efcb29afb30bb1ccfd0a7c9a1aa8685c033b0c2c86f0573a7bb0772e499d1149bac159ec8fc11426f71903e51

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
OCaml

Innovation. Community. Security.