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
writerIBsonWriterThe writer.
namestringThe name of the element.
bytesbyte[]The bytes.