Return Value
The unsigned byte cast to an Int32, or -1 if at the end of the stream.
Exception | Description |
---|---|
System.NotSupportedException | The stream does not support reading. |
System.ObjectDisposedException | Methods were called after the stream was closed. |