package rfc1951
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Rfc1951.Lz77
Source
Source
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;
}
Source
val src :
state ->
(char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t ->
int ->
int ->
unit
Source
val state :
?level:int ->
q:Queue.t ->
w:(char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t ->
src ->
state
Source
val make_window :
bits:int ->
(char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t