Module Decompress_impl.Zlib_inflate
and ('i, 'o) state = | Inflate| Adler32 of ('i, 'o) k| Finish| Exception of error
and ('i, 'o) res = | Cont of ('i, 'o) t| Wait of ('i, 'o) t| Flush of ('i, 'o) t| Ok of ('i, 'o) t| Error of ('i, 'o) t * error
val error : ('a, 'b) t -> error -> ('a, 'b) resval ok : ('a, 'b) t -> ('a, 'b) resval get_byte :
ctor:
((([< `Rd | `Wr Rd ] as 'a, 'b) Safe.t -> 'c -> ('b, 'd) t -> ('b, 'd) res) ->
('b, 'd) state) ->
(int -> ('a, 'b) Safe.t -> 'c -> ('b, 'd) t -> ('b, 'd) res) ->
('a, 'b) Safe.t ->
'c ->
('b, 'd) t ->
('b, 'd) resval get_with_holding :
ctor:
((([< `Rd | `Wr Rd ] as 'a, 'b) Safe.t -> 'c -> ('b, 'd) t -> ('b, 'd) res) ->
('b, 'd) state) ->
(int -> ('a, 'b) Safe.t -> 'c -> ('b, 'd) t -> ('b, 'd) res) ->
('a, 'b) Safe.t ->
'c ->
('b, 'd) t ->
('b, 'd) resval peek_bits :
ctor:
((([< `Rd | `Wr Rd ] as 'a, 'b) Safe.t -> 'c -> ('b, 'd) t -> ('b, 'd) res) ->
('b, 'd) state) ->
int ->
(('a, 'b) Safe.t -> 'c -> ('b, 'd) t -> ('b, 'd) res) ->
('a, 'b) Safe.t ->
'c ->
('b, 'd) t ->
('b, 'd) resval drop_bits :
ctor:
((([< `Rd | `Wr Rd ] as 'a, 'b) Safe.t -> 'c -> ('b, 'd) t -> ('b, 'd) res) ->
('b, 'd) state) ->
int ->
(('a, 'b) Safe.t -> 'c -> ('b, 'd) t -> ('b, 'd) res) ->
('a, 'b) Safe.t ->
'c ->
('b, 'd) t ->
('b, 'd) resmodule KCrc : sig ... endval eval :
'a ->
'a ->
('a, 'a) t ->
[> `Await of ('a, 'a) t
| `End of ('a, 'a) t
| `Error of ('a, 'a) t * error
| `Flush of ('a, 'a) t ]val default : witness:'a B.t -> ?wbits:int option -> 'a Window.t -> ('a, 'a) tval refill : int -> int -> ('a, 'b) t -> ('a, 'b) tval flush : int -> int -> ('a, 'b) t -> ('a, 'b) tval used_in : ('a, 'b) t -> intval used_out : ('a, 'b) t -> intval write : ('a, 'b) t -> intinclude sig ... end
val to_result :
'a ->
'a ->
('a -> int) ->
('a -> int -> int) ->
('a, 'a) t ->
(('a, 'a) t, error) resultval bytes :
'a ->
'a ->
('a -> int) ->
('a -> int -> int) ->
('a, 'a) t ->
(('a, 'a) t, error) resultval bigstring :
'a ->
'a ->
('a -> int) ->
('a -> int -> int) ->
('a, 'a) t ->
(('a, 'a) t, error) result