ReadChar

Reads a single character from the stream.

Throws a StreamNotOpenException if the stream is not open for reading.

Syntax

public int ReadChar()

Returns

ReadChar returns a single character read from the stream, or -1 if the end of the stream has been reached.