package camlbz2

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type in_channel
type out_channel
exception IO_error of string
exception Data_error
exception Unexpected_EOF
val version : string
val open_in : ?small:bool -> ?unused:bytes -> Pervasives.in_channel -> in_channel
val read : in_channel -> bytes -> int -> int -> int
val read_get_unused : in_channel -> bytes
val close_in : in_channel -> unit
val open_out : ?block:int -> Pervasives.out_channel -> out_channel
val write : out_channel -> bytes -> int -> int -> unit
val close_out : out_channel -> unit
val compress : ?block:int -> bytes -> int -> int -> bytes
val uncompress : ?small:bool -> bytes -> int -> int -> bytes