package decompress

  1. Overview
  2. Docs

Module type Decompress_impl.INFLATESource

non-blocking and functionnal implementation of Inflate

Sourcetype error
Sourcetype ('i, 'o) t
Sourceval pp_error : Format.formatter -> error -> unit
Sourceval pp : Format.formatter -> ('i, 'o) t -> unit
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 refill : int -> int -> ('i, 'o) t -> ('i, 'o) t
Sourceval flush : int -> int -> ('i, 'o) t -> ('i, 'o) t
Sourceval used_in : ('i, 'o) t -> int
Sourceval used_out : ('i, 'o) t -> int
Sourceval write : ('i, 'o) t -> int
Sourceval default : 'o Window.t -> ('i, 'o) t
Sourceval to_result : 'a -> 'a -> ('a -> int) -> ('a -> int -> int) -> ('a, 'a) t -> (('a, 'a) t, error) result
Sourceval bytes : Bytes.t -> Bytes.t -> (Bytes.t -> int) -> (Bytes.t -> int -> int) -> (Bytes.t, Bytes.t) t -> ((Bytes.t, Bytes.t) t, error) result