package decompress

  1. Overview
  2. Docs
Pure OCaml implementation of Zlib

Install

Dune Dependency

Authors

Maintainers

Sources

decompress-0.8.tbz
sha256=ea6987f72816044ccf3edb586e3b64668d53c5ef1b0a735119e5c9d740504240
md5=547eaf0803af3ed01ff7801facfe27e6

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 : ('x, 'x) t -> ('x, 'x) t
Sourceval no_flush : int -> int -> ('x, 'x) t -> ('x, 'x) t
Sourceval partial_flush : int -> int -> ('x, 'x) t -> ('x, 'x) t
Sourceval sync_flush : int -> int -> ('x, 'x) t -> ('x, 'x) t
Sourceval full_flush : int -> int -> ('x, 'x) t -> ('x, 'x) t
Sourcetype meth =
  1. | PARTIAL
  2. | SYNC
  3. | FULL
Sourceval flush_of_meth : meth -> int -> int -> ('x, 'x) t -> ('x, 'x) t
Sourceval flush : int -> int -> ('i, 'o) t -> ('i, 'o) t
Sourceval eval : 'a B.t -> 'a B.t -> ('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 : proof:'o B.t -> ?wbits:int -> int -> ('i, 'o) t
Sourceval to_result : 'a B.t -> 'a B.t -> ?meth:(meth * int) -> ('a B.t -> int option -> int) -> ('a B.t -> 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) -> (B.st, B.st) t -> ((B.st, B.st) 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.bs, B.bs) t -> ((B.bs, B.bs) t, error) result
OCaml

Innovation. Community. Security.