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.
method really_input :
string -> int -> int -> unit
Reads exactly as many octets from the channel as the second
argument specifies. The octets are placed at the position denoted
by the first
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
Reads exactly one character from the channel, or raises
method input_line :
unit -> string
Reads the next line from the channel. When the channel is already
at the end before
input_line is called, the exception
method input_byte :
unit -> int
Reads exactly one octet from the channel and returns its code,