Table of Contents

Class IBsonWriterExtensions

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

Contains extension methods for IBsonWriter.

public static class IBsonWriterExtensions
Inheritance
IBsonWriterExtensions
Inherited Members

Methods

WriteBinaryData(IBsonWriter, string, BsonBinaryData)

Writes a BSON binary data element to the writer.

WriteBoolean(IBsonWriter, string, bool)

Writes a BSON Boolean element to the writer.

WriteBytes(IBsonWriter, string, byte[])

Writes a BSON binary data element to the writer.

WriteDateTime(IBsonWriter, string, long)

Writes a BSON DateTime element to the writer.

WriteDecimal128(IBsonWriter, string, Decimal128)

Writes a BSON Decimal128 element to the writer.

WriteDouble(IBsonWriter, string, double)

Writes a BSON Double element to the writer.

WriteInt32(IBsonWriter, string, int)

Writes a BSON Int32 element to the writer.

WriteInt64(IBsonWriter, string, long)

Writes a BSON Int64 element to the writer.

WriteJavaScript(IBsonWriter, string, string)

Writes a BSON JavaScript element to the writer.

WriteJavaScriptWithScope(IBsonWriter, string, string)

Writes a BSON JavaScript element to the writer (call WriteStartDocument to start writing the scope).

WriteMaxKey(IBsonWriter, string)

Writes a BSON MaxKey element to the writer.

WriteMinKey(IBsonWriter, string)

Writes a BSON MinKey element to the writer.

WriteNull(IBsonWriter, string)

Writes a BSON null element to the writer.

WriteObjectId(IBsonWriter, string, ObjectId)

Writes a BSON ObjectId element to the writer.

WriteRawBsonArray(IBsonWriter, string, IByteBuffer)

Writes a raw BSON array.

WriteRawBsonDocument(IBsonWriter, string, IByteBuffer)

Writes a raw BSON document.

WriteRegularExpression(IBsonWriter, string, BsonRegularExpression)

Writes a BSON regular expression element to the writer.

WriteStartArray(IBsonWriter, string)

Writes the start of a BSON array element to the writer.

WriteStartDocument(IBsonWriter, string)

Writes the start of a BSON document element to the writer.

WriteString(IBsonWriter, string, string)

Writes a BSON String element to the writer.

WriteSymbol(IBsonWriter, string, string)

Writes a BSON Symbol element to the writer.

WriteTimestamp(IBsonWriter, string, long)

Writes a BSON timestamp element to the writer.

WriteUndefined(IBsonWriter, string)

Writes a BSON undefined element to the writer.