Table of Contents

Method ReadBytes

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

ReadBytes(IBsonReader, string)

Reads a BSON binary data element from the reader.

public static byte[] ReadBytes(this IBsonReader reader, string name)

Parameters

reader IBsonReader

The reader.

name string

The name of the element.

Returns

byte[]

A byte array.