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