Click or drag to resize

AutoResetStream.ReadByte 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:  BionicCode.Utilities.Net.Standard.IO
Assembly:  BionicCode.Utilities.Net.Standard (in BionicCode.Utilities.Net.Standard.dll) Version: 1.0.4
Syntax
public override int ReadByte()

Return Value

Type: 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.
See Also
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md