BinaryReaderReadChar Method |
Reads the next character from the current stream and advances the current position of the stream in accordance with the Encoding used and the specific character being read from the stream.
Namespace: System.IOAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public virtual char ReadChar()
Return Value
Type:
CharA character read from the current stream.
Exceptions Exception | Condition |
---|
EndOfStreamException | The end of the stream is reached. |
ObjectDisposedException | The stream is closed. |
IOException | An I/O error occurs. |
ArgumentException | A surrogate character was read. |
See Also