Up

Module Biocaml_zip.Transform (.ml)

module Transform: sig .. end

type unzip_error = [ `garbage_at_end_of_compressed_data of string
| `wrong_gzip_header of
[ `compression_method | `flags | `magic_number ] * int
| `zlib of string ]
The possible unzipping errors.
val unzip  : ?format:[ `gzip | `raw ] ->
?zlib_buffer_size:int ->
unit ->
(string, (string, unzip_error) Core.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
val unzip_error_of_sexp  : Sexplib.Sexp.t -> unzip_error 
val unzip_error_of_sexp__  : Sexplib.Sexp.t -> unzip_error 
val sexp_of_unzip_error  : unzip_error -> Sexplib.Sexp.t
The possible unzipping errors.

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.

AltStyle によって変換されたページ (->オリジナル) /