package decompress

  1. Overview
  2. Docs
Implementation of Zlib in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

decompress-v0.8.1.tbz
sha256=903b0926fe2380caf156fcdefa38bc48794f7fcf7d6befd1719aab3f8c0f1188
md5=6c600b0188516d405510cd95d8d82481

doc/decompress.impl/Decompress_impl/module-type-DEFLATE/index.html

Module type Decompress_impl.DEFLATESource

non-blocking and functionnal implementation of Deflate

Sourcetype error
Sourcemodule F : sig ... end
Sourcetype ('i, 'o) t
Sourceval pp_error : Format.formatter -> error -> unit
Sourceval pp : Format.formatter -> ('i, 'o) t -> unit
Sourceval get_frequencies : ('i, 'o) t -> F.t
Sourceval set_frequencies : ?paranoid:bool -> F.t -> ('i, 'o) t -> ('i, 'o) t
Sourceval finish : ('a, 'a) t -> ('a, 'a) t
Sourceval no_flush : int -> int -> ('a, 'a) t -> ('a, 'a) t
Sourceval partial_flush : int -> int -> ('a, 'a) t -> ('a, 'a) t
Sourceval sync_flush : int -> int -> ('a, 'a) t -> ('a, 'a) t
Sourceval full_flush : int -> int -> ('a, 'a) t -> ('a, 'a) t
Sourcetype meth =
  1. | PARTIAL
  2. | SYNC
  3. | FULL
Sourceval flush_of_meth : meth -> int -> int -> ('a, 'a) t -> ('a, 'a) t
Sourceval flush : int -> int -> ('i, 'o) t -> ('i, 'o) t
Sourceval eval : 'a -> 'a -> ('a, 'a) t -> [ `Await of ('a, 'a) t | `Flush of ('a, 'a) t | `End of ('a, 'a) t | `Error of ('a, 'a) t * error ]
Sourceval used_in : ('i, 'o) t -> int
Sourceval used_out : ('i, 'o) t -> int
Sourceval default : witness:'a B.t -> ?wbits:int -> int -> ('a, 'a) t
Sourceval to_result : 'a -> 'a -> ?meth:(meth * int) -> ('a -> int option -> int) -> ('a -> int -> int) -> ('a, 'a) t -> (('a, 'a) t, error) result
Sourceval bytes : Bytes.t -> Bytes.t -> ?meth:(meth * int) -> (Bytes.t -> int option -> int) -> (Bytes.t -> int -> int) -> (Bytes.t, Bytes.t) t -> ((Bytes.t, Bytes.t) t, error) result
Sourceval bigstring : B.Bigstring.t -> B.Bigstring.t -> ?meth:(meth * int) -> (B.Bigstring.t -> int option -> int) -> (B.Bigstring.t -> int -> int) -> (B.Bigstring.t, B.Bigstring.t) t -> ((B.Bigstring.t, B.Bigstring.t) t, error) result