Click or drag to resize

FileStreamReadByte Method

Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.

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

Return Value

Int32
The unsigned byte cast to an Int32, or -1 if at the end of the stream.
Exceptions
ExceptionCondition
NotSupportedExceptionThe stream does not support reading.
ObjectDisposedExceptionMethods were called after the stream was closed.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also