exception Error of string * stringval compress :
?level:int ->
?header:bool ->
(bytes -> int) ->
(bytes -> int -> unit) ->
unitval compress_direct :
?level:int ->
?header:bool ->
(bytes -> int -> unit) ->
(bytes -> int -> int -> unit) * (unit -> unit)val uncompress :
?header:bool ->
(bytes -> int) ->
(bytes -> int -> unit) ->
unittype flush_command = | Z_NO_FLUSH| Z_SYNC_FLUSH| Z_FULL_FLUSH| Z_FINISH
val deflate_init : int -> bool -> streamval deflate :
stream ->
bytes ->
int ->
int ->
bytes ->
int ->
int ->
flush_command ->
bool * int * intval deflate_string :
stream ->
string ->
int ->
int ->
bytes ->
int ->
int ->
flush_command ->
bool * int * intval deflate_end : stream -> unitval inflate_init : bool -> streamval inflate :
stream ->
bytes ->
int ->
int ->
bytes ->
int ->
int ->
flush_command ->
bool * int * intval inflate_string :
stream ->
string ->
int ->
int ->
bytes ->
int ->
int ->
flush_command ->
bool * int * intval inflate_end : stream -> unitval update_crc : int32 -> bytes -> int -> int -> int32val update_crc_string : int32 -> string -> int -> int -> int32