val unzip : ?format:[ `gzip | `raw ] ->
?zlib_buffer_size:int ->
unit ->
(string, (string, [> Biocaml_zip.Error.unzip ]) Core.Std.Result.t)
Biocaml_transform.t
Create a transform that uncompresses a stream.
The default format
is `raw
(i.e. only apply the "deflate"
algorithm to the stream); `gzip
means that the transform must first
skip a gzip header.
val zip : ?format:[ `gzip | `raw ] ->
?level:int ->
?zlib_buffer_size:int -> unit -> (string, string) Biocaml_transform.t
Create a transform that writes compressed data.