toByteArray

abstract fun toByteArray(): ByteArray(source)

Generates a ByteArray of the raw BSON representation of this value.