package decompress

  1. Overview
  2. Docs
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:window -> q:De.Queue.t -> i:bigstring -> o:bigstring -> refill:(bigstring -> int) -> flush:(bigstring -> int -> unit) -> 't -> 't configuration -> unit
type metadata = {
  1. filename : string option;
  2. comment : string option;
  3. os : os;
  4. extra : key:string -> string option;
}

Type of metadata available into a GZIP flow.

val uncompress : i:bigstring -> o:bigstring -> refill:(bigstring -> int) -> flush:(bigstring -> int -> unit) -> (metadata, [> `Msg of string ]) Stdlib.result
OCaml

Innovation. Community. Security.