Module UtilsLib.Input

module Input: sig .. end

type t = Pervasives.in_channel 
val read_file : string -> string
loads the all content of the given file
val read_file_bin : string -> string
read binary file in a portable way for Windows
val input_channel : t -> string
get all contents from an input channel
val input_line : t -> string option
returns one line from the input channel or None if the end of file is reached
val input_lines : t -> string list
returns the list of lines from an input channel
val lines_of_file : string -> string list
returns the list of lines from a file
val line : t -> string option
same than input_line
val lines : t -> string list
same than input_lines