Click or drag to resize

BinaryReaderReadChar Method

Reads the next character from the file and moves the file pointer forward the number of bytes specified by the encoding.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public virtual char ReadChar()

Return Value

Char
A character read from the file.
Exceptions
ExceptionCondition
EndOfStreamExceptionThe end of the file is reached.
IOExceptionAn I/O error occurred.
ObjectDisposedExceptionThe file is closed.
ArgumentExceptionA surrogate character was read.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also