Rfc1951.Infval prefix : (int * int) Heap.queue -> int -> int arrayval huffman : kind -> int array -> int -> int -> int array * inttype 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 ->
'bval eoi : decoder -> unitval final : 'a -> retval i_rem : decoder -> intval src :
decoder ->
( char, Stdlib.Bigarray.int8_unsigned_elt, Stdlib.Bigarray.c_layout )
Stdlib.Bigarray.Array1.t ->
int ->
int ->
unitval t_need : decoder -> int -> unitval fixed_lit : Lookup.tval fixed_dist : Lookup.tval decode : decoder -> [> `Await | `End | `Flush | `Malformed of string ]val dst_rem : decoder -> intval src_rem : decoder -> intval flush : decoder -> unitval reset : decoder -> unitmodule Ns : sig ... end