Rfc1951.Inf
val prefix : (int * int) Heap.queue -> int -> int array
val huffman : kind -> int array -> int -> int -> int array * int
type decoder = {
src : src; |
mutable i : bigstring; |
mutable i_pos : int; |
mutable i_len : int; |
mutable hold : int; |
mutable bits : int; |
mutable last : bool; |
o : bigstring; |
t : bigstring; |
mutable t_need : int; |
mutable t_len : int; |
mutable o_pos : int; |
mutable l : int; |
mutable d : int; |
mutable literal : Lookup.t; |
mutable distance : Lookup.t; |
mutable jump : jump; |
w : WInf.t; |
mutable s : state; |
mutable k : decoder -> ret; |
}
val malformedf :
( 'a, Stdlib.Format.formatter, unit, ret ) Stdlib.format4 ->
'b
val eoi : decoder -> unit
val final : 'a -> ret
val i_rem : decoder -> int
val src :
decoder ->
( char, Stdlib.Bigarray.int8_unsigned_elt, Stdlib.Bigarray.c_layout )
Stdlib.Bigarray.Array1.t ->
int ->
int ->
unit
val t_need : decoder -> int -> unit
val fixed_lit : Lookup.t
val fixed_dist : Lookup.t
val decode : decoder -> [> `Await | `End | `Flush | `Malformed of string ]
val dst_rem : decoder -> int
val src_rem : decoder -> int
val flush : decoder -> unit
val reset : decoder -> unit
module Ns : sig ... end