package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type input
type 'a output
exception No_more_input
exception Input_closed
exception Output_closed
val read : input -> char
val read_all : input -> string
val pipe : unit -> input * unit output
val nread : input -> int -> string
val really_nread : input -> int -> string
val input : input -> string -> int -> int -> int
val really_input : input -> string -> int -> int -> int
val close_in : input -> unit
val write : 'a output -> char -> unit
val nwrite : 'a output -> string -> unit
val output : 'a output -> string -> int -> int -> int
val really_output : 'a output -> string -> int -> int -> int
val flush : 'a output -> unit
val flush_all : unit -> unit
val close_out : 'a output -> 'a
val close_all : unit -> unit
val input_string : string -> input
val output_string : unit -> string output
val on_close_out : 'a output -> ('a output -> unit) -> unit
val create_in : read:(unit -> char) -> input:(string -> int -> int -> int) -> close:(unit -> unit) -> input
val inherit_in : ?read:(unit -> char) -> ?input:(string -> int -> int -> int) -> ?close:(unit -> unit) -> input -> input
val wrap_in : read:(unit -> char) -> input:(string -> int -> int -> int) -> close:(unit -> unit) -> underlying:input list -> input
val create_out : write:(char -> unit) -> output:(string -> int -> int -> int) -> flush:(unit -> unit) -> close:(unit -> 'a) -> 'a output
val inherit_out : ?write:(char -> unit) -> ?output:(string -> int -> int -> int) -> ?flush:(unit -> unit) -> ?close:(unit -> unit) -> 'a output -> unit output
val wrap_out : write:(char -> unit) -> output:(string -> int -> int -> int) -> flush:(unit -> unit) -> close:(unit -> 'a) -> underlying:'b output list -> 'a output
val default_buffer_size : int
exception Overflow of string
val read_byte : input -> int
val read_signed_byte : input -> int
val read_ui16 : input -> int
val read_i16 : input -> int
val read_i32 : input -> int
val read_real_i32 : input -> int32
val read_i64 : input -> int64
val read_float : input -> float
val read_double : input -> float
val read_string : input -> string
val read_line : input -> string
val write_byte : 'a output -> int -> unit
val write_ui16 : 'a output -> int -> unit
val write_i16 : 'a output -> int -> unit
val write_i32 : 'a output -> int -> unit
val write_real_i32 : 'a output -> int32 -> unit
val write_i64 : 'a output -> int64 -> unit
val write_double : 'a output -> float -> unit
val write_float : 'a output -> float -> unit
val write_string : 'a output -> string -> unit
val write_line : 'a output -> string -> unit
val cast_output : 'a output -> unit output
val input_channel : ?autoclose:bool -> ?cleanup:bool -> Pervasives.in_channel -> input
val output_channel : ?cleanup:bool -> Pervasives.out_channel -> unit output
val stdin : input
val stdout : unit output
val stderr : unit output
val stdnull : unit output
module Input : sig ... end
module Output : sig ... end
val noop : unit -> unit
val get_output : 'a output -> string -> int -> int -> int
val get_flush : 'a output -> unit -> unit
val get_output_id : 'a output -> int
val get_input_id : input -> int
OCaml

Innovation. Community. Security.