Reads the next character from the current stream and advances the current position of the stream in accordance with the Encoding used and perhaps the particular character being read from the stream.
[Visual Basic] Overridable Public Function ReadChar() As Char [C#] public virtual char ReadChar(); [C++] public: virtual __wchar_t ReadChar(); [JScript] public function ReadChar() : Char;
A character read from the current stream.
Exception Type | Condition |
---|---|
EndOfStreamException | The end of the stream has been reached. |
IOException | An I/O error occurs. |
BinaryReader Class | BinaryReader Members | System.IO Namespace