package biocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Streaming interface to the Zlib library.

The module deals with compressed streams.

Default Parameters

module Default : sig ... end

This module contains the default values for most optional parameters of the module.

Error Types

module Error : sig ... end

In_chanel.t Functions

val unzip_in_channel : ?format:[ `gzip | `raw ] -> ?zlib_buffer_size:int -> ?buffer_size:int -> Pervasives.in_channel -> (string, [> Error.t ]) Pervasives.result Stream.t

Decompress an Input Channel.

val zip_in_channel : ?format:[ `gzip | `raw ] -> ?zlib_buffer_size:int -> ?level:int -> ?buffer_size:int -> Pervasives.in_channel -> string Stream.t

Compress an Input Channel.

exception Error of Error.unzip

The exception raise by the *_exn functions of this module.

val unzip_in_channel_exn : ?format:[ `gzip | `raw ] -> ?zlib_buffer_size:int -> ?buffer_size:int -> Pervasives.in_channel -> string Stream.t

Like unzip_in_channel but calls to Stream.next may raise Error e exceptions.

Transform.t Implementations

module Transform : sig ... end
OCaml

Innovation. Community. Security.