Table of Contents

Method WriteBytes

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

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 IBsonWriter

The writer.

name string

The name of the element.

bytes byte[]

The bytes.