class type compl_in_channel =Further methods usually supported by ocamlnet channel implementations. These methods are only reasonable when the channel is of blocking type, i.e. waits for input when not enough data are available to perform an operation. Implementations may choose to fail when they detect the channel is non-blocking.object
..end
method really_input : string -> 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 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