package devkit

  1. Overview
  2. Docs
exception Error of string
val buffer_size : int
type in_channel = {
  1. in_chan : IO.input;
  2. in_buffer : bytes;
  3. mutable in_pos : int;
  4. mutable in_avail : int;
  5. mutable in_eof : bool;
  6. in_stream : Zlib.stream;
  7. mutable in_size : int32;
  8. mutable in_crc : int32;
  9. 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 = {
  1. out_chan : 'a IO.output;
  2. out_buffer : bytes;
  3. mutable out_pos : int;
  4. mutable out_avail : int;
  5. out_stream : Zlib.stream;
  6. mutable out_size : int32;
  7. mutable out_crc : int32;
  8. 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 -> 'a
OCaml

Innovation. Community. Security.