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