Method WriteBinaryData
WriteBinaryData(IBsonWriter, string, BsonBinaryData)
Writes a BSON binary data element to the writer.
public static void WriteBinaryData(this IBsonWriter writer, string name, BsonBinaryData binaryData)
Parameters
writer
IBsonWriterThe writer.
name
stringThe name of the element.
binaryData
BsonBinaryDataThe binary data.