Method ReadByte
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
ReadByte()
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.
public override int ReadByte()
Returns
The unsigned byte cast to an Int32
, or -1 if at the end of the stream.
Exceptions
The stream does not support reading.
Methods were called after the stream was closed.