Constructor BsonBinaryData
BsonBinaryData(byte[])
Initializes a new instance of the BsonBinaryData class.
public BsonBinaryData(byte[] bytes)
Parameters
bytes
byte[]The binary data.
BsonBinaryData(byte[], BsonBinarySubType)
Initializes a new instance of the BsonBinaryData class.
public BsonBinaryData(byte[] bytes, BsonBinarySubType subType)
Parameters
bytes
byte[]The binary data.
subType
BsonBinarySubTypeThe binary data subtype.
BsonBinaryData(Guid, GuidRepresentation)
Initializes a new instance of the BsonBinaryData class.
public BsonBinaryData(Guid guid, GuidRepresentation guidRepresentation)
Parameters
guid
GuidA Guid.
guidRepresentation
GuidRepresentationThe representation for Guids.