devkit

Development kit - general purpose library
IN THIS PACKAGE
exception Error of string
val buffer_size : int
type in_channel = {
in_chan : IO.input;
in_buffer : bytes;
mutable in_pos : int;
mutable in_avail : int;
mutable in_eof : bool;
in_stream : Zlib.stream;
mutable in_size : int32;
mutable in_crc : int32;
char_buffer : bytes;
}
val open_in : IO.input -> in_channel
val read_byte : in_channel -> int
val read_int32 : in_channel -> int32
val input : in_channel -> bytes -> int -> int -> int
val really_input : in_channel -> bytes -> int -> int -> unit
val input_char : in_channel -> char
val input_byte : in_channel -> int
val dispose : in_channel -> unit
val close_in : in_channel -> unit
type 'a out_channel = {
out_chan : 'a IO.output;
out_buffer : bytes;
mutable out_pos : int;
mutable out_avail : int;
out_stream : Zlib.stream;
mutable out_size : int32;
mutable out_crc : int32;
char_buffer : bytes;
}
val open_out : ?level:int -> 'a IO.output -> 'a out_channel
val output : 'a out_channel -> bytes -> int -> int -> unit
val output_char : 'a out_channel -> char -> unit
val output_byte : 'a out_channel -> int -> unit
val write_int32 : 'a IO.output -> int32 -> unit
val flush : 'a out_channel -> unit
val close_out : 'a out_channel -> 'b