package decompress

  1. Overview
  2. Docs
Implementation of Zlib in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

decompress-v0.9.0.tbz
sha256=70dd782b258a51a37c3971b9bd96c656b161876d781e168a626e9bb437833e3b
sha512=34033405c8dca30f67c39cad8f50875e255644d0e0b88019091d59932aaf90d87445070228291b1d3d1c07a98ce97aeca11554daf1a8f3b04d043b4f6c1ab83c

doc/decompress.impl/Impl/Decompress_lz77/index.html

Module Impl.Decompress_lz77Source

Sourcemodule Safe = Decompress_safe
Sourcemodule Hunk = Decompress_hunk
Sourcemodule Buffer = Decompress_buffer
Sourceval pf : Format.formatter -> ('a, Format.formatter, unit) format -> 'a
Sourceval repeat : char -> int64
Sourcetype error =
  1. | Invalid_level of int
  2. | Invalid_wbits of int
Sourceval pp_error : Format.formatter -> error -> unit
Sourceexception Match of int * int
Sourceexception Literal of char
Sourceexception Break
Sourcetype 'i t = {
  1. i_off : int;
  2. i_pos : int;
  3. i_len : int;
  4. level : int;
  5. on : Hunk.t -> unit;
  6. state : 'i state;
  7. witness : 'i Buffer.t;
}
Sourceand 'i state =
  1. | Deflate of int
  2. | Deffast of int
  3. | Choose of int
  4. | Exception of error
Sourceand 'i res =
  1. | Cont of 'i t
  2. | Wait of 'i t * Hunk.t Seq.t
  3. | Error of 'i t * error
Sourceval pp_state : Format.formatter -> 'a state -> unit
Sourceval pp : Format.formatter -> 'a t -> unit
Sourceval await : 'i t -> Hunk.t Seq.t -> 'i res
Sourceval error : 'i t -> error -> 'i res
Sourceval _max_distance : int
Sourceval _max_length : int
Sourceval _size_of_int64 : int
Sourceval _idx_boundary : int
Sourcetype key = int32 option
Sourceval key : 'a Safe.Buffer.t -> ([< `Rd | `Wr Rd ], 'a) Safe.t -> int -> int -> key
Sourcemodule T : sig ... end
Sourceval longuest_substring : 'a Safe.Buffer.t -> ([< `Rd | `Wr Rd ], 'a) Safe.t -> int -> int -> int -> int option
Sourceval deflate : ?max_fardistance:int -> ([< `Rd | `Wr Rd ], 'a) Safe.t -> 'a t -> Hunk.t Seq.t
Sourceval _hlog : int array
Sourceval deffast : 'a. ?accel:int -> ?max_fardistance:int -> (Safe.ro, 'a) Safe.t -> 'a t -> Hunk.t Seq.t
Sourceval eval : (Safe.ro, 'a) Safe.t -> 'a t -> [> `Await of 'a t * Hunk.t Seq.t | `Error of 'a t * error ]
Sourceval refill : int -> int -> 'a t -> 'a t
Sourceval used_in : 'a t -> int
Sourceval default : witness:'a Buffer.t -> ?level:int -> ?on:(Hunk.t -> unit) -> int -> 'a t
OCaml

Innovation. Community. Security.