BsonStreamAdapter Class |
Namespace: MongoDB.Bson.IO
The BsonStreamAdapter type exposes the following members.
Name | Description | |
---|---|---|
BsonStreamAdapter |
Initializes a new instance of the BsonStreamAdapter class.
|
Name | Description | |
---|---|---|
BaseStream |
Gets the base stream.
| |
CanRead | (Overrides StreamCanRead.) | |
CanSeek | (Overrides StreamCanSeek.) | |
CanTimeout | (Overrides StreamCanTimeout.) | |
CanWrite | (Overrides StreamCanWrite.) | |
Length | (Overrides StreamLength.) | |
Position | (Overrides StreamPosition.) | |
ReadTimeout | (Overrides StreamReadTimeout.) | |
WriteTimeout | (Overrides StreamWriteTimeout.) |
Name | Description | |
---|---|---|
BackpatchSize |
Backpatches the size.
(Defined by BsonStreamExtensions.) | |
ReadBinarySubType |
Reads the binary sub type.
(Defined by BsonStreamExtensions.) | |
ReadBoolean |
Reads a boolean from the stream.
(Defined by BsonStreamExtensions.) | |
ReadBsonType |
Reads the BSON type.
(Defined by BsonStreamExtensions.) | |
ReadBytes(Int32) | Overloaded.
Reads bytes from the stream.
(Defined by BsonStreamExtensions.) | |
ReadBytes(Byte, Int32, Int32) | Overloaded.
Reads bytes from the stream.
(Defined by BsonStreamExtensions.) | |
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) | |
WriteBinarySubType |
Writes a binary sub type to the stream.
(Defined by BsonStreamExtensions.) | |
WriteBoolean |
Writes a boolean to the stream.
(Defined by BsonStreamExtensions.) | |
WriteBsonType |
Writes a BsonType to the stream.
(Defined by BsonStreamExtensions.) | |
WriteBytes |
Writes bytes to the stream.
(Defined by BsonStreamExtensions.) | |
WriteSlice |
Writes a slice to the stream.
(Defined by BsonStreamExtensions.) |