Click or drag to resize

DelegatingStreamReadByte 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:  MongoDB.Driver.GridFS
Assembly:  MongoDB.Driver.GridFS (in MongoDB.Driver.GridFS.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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