IDataStream.readChar

Overview | Methods | This Package | All Packages

IDataStream.readChar

Reads a character from this stream.

Syntax

public char readChar()

Return Value

Returns the character value that was read.

Exceptions

IOException thrown if an I/O error occurs or if the stream does not support reading.

EOFException thrown if the end of the stream is reached before two bytes could be read.

Remarks

The current position is advanced by two bytes.

See Also   writeChar