Table of Contents

Class BsonStreamExtensions

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

Represents extension methods on BsonStream.

public static class BsonStreamExtensions
Inheritance
BsonStreamExtensions
Inherited Members

Methods

BackpatchSize(BsonStream, long)

Backpatches the size.

ReadBinarySubType(BsonStream)

Reads the binary sub type.

ReadBoolean(BsonStream)

Reads a boolean from the stream.

ReadBsonType(BsonStream)

Reads the BSON type.

ReadBytes(BsonStream, byte[], int, int)

Reads bytes from the stream.

ReadBytes(BsonStream, int)

Reads bytes from the stream.

WriteBinarySubType(BsonStream, BsonBinarySubType)

Writes a binary sub type to the stream.

WriteBoolean(BsonStream, bool)

Writes a boolean to the stream.

WriteBsonType(BsonStream, BsonType)

Writes a BsonType to the stream.

WriteBytes(BsonStream, byte[], int, int)

Writes bytes to the stream.

WriteSlice(BsonStream, IByteBuffer)

Writes a slice to the stream.