Method ReadBytes
ReadBytes(IBsonReader, string)
Reads a BSON binary data element from the reader.
public static byte[] ReadBytes(this IBsonReader reader, string name)
Parameters
reader
IBsonReaderThe reader.
name
stringThe name of the element.
Returns
- byte[]
A byte array.