Table of Contents

Method WriteRawBsonDocument

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

WriteRawBsonDocument(IBsonWriter, string, IByteBuffer)

Writes a raw BSON document.

public static void WriteRawBsonDocument(this IBsonWriter writer, string name, IByteBuffer slice)

Parameters

writer IBsonWriter

The writer.

name string

The name.

slice IByteBuffer

The byte buffer containing the raw BSON document.