Mono Class Library: System.IO.Stream Overview | MembersSystem.IO.Stream.ReadByte Method |
Reads a byte from the stream and advances the position within the stream by one byte. [Edit]
|
The unsigned byte cast to a int , or -1 if at the end of the stream. [Edit]
Type Reason System.IO.IOException An I/O error has occurred. [Edit] NotSupportedException The stream does not support reading. [Edit] ObjectDisposedException The stream is closed. [Edit]
Operation
As described above.Note: Use the Stream.CanRead property to determine whether the current instance supports reading.[Edit]
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0