Rfc1951.Lz77
val (.!()) : bigstring -> int -> int32
val (.![]) : bigstring -> int -> int
val (.!{}) : bigstring -> int -> int
val _0 : configuration
val _1 : configuration
val _2 : configuration
val _3 : configuration
val _4 : configuration
val _5 : configuration
val _6 : configuration
val _7 : configuration
val _8 : configuration
val _9 : configuration
type state = {
src : src; |
cfg : configuration; |
level : int; |
mutable i : bigstring; |
mutable i_pos : int; |
mutable i_len : int; |
l : literals; |
d : distances; |
w : bigstring; |
wbits : int; |
mutable lookahead : int; |
mutable strstart : int; |
prev : int array; |
head : int array; |
mutable hash : int; |
mutable match_start : int; |
mutable match_length : int; |
mutable match_available : bool; |
mutable insert : int; |
mutable prev_length : int; |
mutable prev_match : int; |
q : Queue.t; |
mutable crc : optint; |
mutable k : configuration -> state -> decode; |
}
val max_dist : state -> int
val longest_match : deflate_configuration -> state -> int -> int
val eoi : state -> unit
val src :
state ->
( char, Stdlib.Bigarray.int8_unsigned_elt, Stdlib.Bigarray.c_layout )
Stdlib.Bigarray.Array1.t ->
int ->
int ->
unit
val i_rem : state -> int
val src_rem : state -> int
val refill : ( configuration -> state -> decode ) -> state -> decode
val update_crc : state -> int -> unit
val insert_string : state -> int -> int
val emit_match : state -> off:int -> len:int -> bool
val emit_literal : state -> char -> bool
val trailing : state -> [> `End ]
val slide_hash : state -> unit
val fill_window : configuration -> state -> decode
val enough : configuration -> state -> decode
val deflate_fast : deflate_configuration -> state -> decode
val deflate_slow : deflate_configuration -> state -> decode
type window = bigstring
val no_compression : state -> bool