class type compl_in_channel =object
..end
method really_input : Bytes.t -> int -> int -> unit
int
argument specifies. The octets are placed at the position denoted
by the first int
argument into the string.
When the end of the channel is reached before the passed number of
octets are read, the exception End_of_file
is raised.
method really_input_string : int -> string
really_input_string ic len
reads len
characters from channel ic
and returns them in a new string.
Raise End_of_file
if the end of file is reached before len
characters have been read.method input_char : unit -> char
End_of_file
method input_line : unit -> string
input_line
is called, the exception End_of_file
is raised.method input_byte : unit -> int
End_of_file