Kotlin BSON • Multiplatform abstraction for different BSON implementations • opensavvy.ktmongo.bson • BsonArray
BsonArray¶
interface BsonArray
A BSON array.
To create instances of this class, see BsonFactory.
Implementation constraints¶
equals and hashCode should follow the same constraints as BsonArrayReader's implementations.
Functions¶
diff¶
Analyzes the difference between two BSON arrays.
reader¶
@LowLevelApi
abstract fun reader(): BsonArrayReader
Reads the elements of this array.
toByteArray¶
abstract fun toByteArray(): ByteArray
Low-level byte representation of this BSON document.