Method WriteRawBsonDocument
WriteRawBsonDocument(IBsonWriter, string, IByteBuffer)
Writes a raw BSON document.
public static void WriteRawBsonDocument(this IBsonWriter writer, string name, IByteBuffer slice)
Parameters
writer
IBsonWriterThe writer.
name
stringThe name.
slice
IByteBufferThe byte buffer containing the raw BSON document.