Method WriteBytes
WriteBytes(IBsonWriter, string, byte[])
Writes a BSON binary data element to the writer.
public static void WriteBytes(this IBsonWriter writer, string name, byte[] bytes)
Parameters
writer
IBsonWriterThe writer.
name
stringThe name of the element.
bytes
byte[]The bytes.