BsonBinary

fun BsonBinary(data: ByteArray)

Construct a new instance with the given data and the default subtype BsonBinarySubType.BINARY.

Parameters

data

the data


fun BsonBinary(type: BsonBinarySubType, data: ByteArray)

Construct a new instance with the given data and byte value of the subtype

Parameters

type

the subtype byte value

data

the data


fun BsonBinary(type: Byte, data: ByteArray)

constructs a new instance with the given subtype and data