| BsonStreamAdapterReadByte 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.Bson.IOAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.1.0
 Syntax
Syntaxpublic override int ReadByte()
Public Overrides Function ReadByte As Integer
abstract ReadByte : unit -> int 
override ReadByte : unit -> int 
Return Value
Type: 
Int32The unsigned byte cast to an Int32, or -1 if at the end of the stream.
 Exceptions
Exceptions See Also
See Also