toBinaryData

Converts this Vector into a ByteArray that fits into the content of BsonType.BinaryData.

Vector is the binary subtype 0x09.