sig
  type unzip_error =
      [ `garbage_at_end_of_compressed_data of string
      | `wrong_gzip_header of
          [ `compression_method | `flags | `magic_number ] * int
      | `zlib of string ]
  val unzip :
    ?format:[ `gzip | `raw ] ->
    ?zlib_buffer_size:int ->
    unit ->
    (string, (string, Biocaml_zip.Transform.unzip_error) Core.Result.t)
    Biocaml_transform.t
  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 -> Biocaml_zip.Transform.unzip_error
  val unzip_error_of_sexp__ :
    Sexplib.Sexp.t -> Biocaml_zip.Transform.unzip_error
  val sexp_of_unzip_error :
    Biocaml_zip.Transform.unzip_error -> Sexplib.Sexp.t
end