Click or drag to resize

BinaryReaderReadByte Method

Reads the next byte from the current stream and advances the current file pointer by one byte.

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

Return Value

Byte
The next byte in the file.
Exceptions
ExceptionCondition
EndOfStreamExceptionThe end of the file is reached.
IOExceptionAn I/O error occurred.
ObjectDisposedExceptionThe file is closed.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also