Module Gz.Higher

type 't configuration

Type of the Operating-System configuration.

val configuration : ?ascii:bool -> ?hcrc:bool -> os -> ('t -> int32) -> 't configuration

configuration ?ascii ?hcrc os mtime makes an Operating-System configuration to be able to compress any inputs.

val compress : ?level:int -> ?filename:string -> ?comment:string -> w:De.Lz77.window -> q:De.Queue.t -> refill:(bigstring -> int) -> flush:(bigstring -> int -> unit) -> 't -> 't configuration -> bigstring -> bigstring -> unit
type metadata = {
filename : string option;
comment : string option;
os : os;
extra : key:string -> string option;
}

Type of metadata available into a GZIP flow.

val uncompress : refill:(bigstring -> int) -> flush:(bigstring -> int -> unit) -> bigstring -> bigstring -> (metadata[> `Msg of string ]) result