Kotlin BSON • Multiplatform abstraction for different BSON implementations • opensavvy.ktmongo.bson • BsonArrayReader • read
read¶
abstract fun read(index: Int): BsonValueReader?
Attempts to read an element at index index
.
If such an element exists, an instance of BsonValueReader
is returned. If no such element exists, null
is returned.
Note that if an element exists and is null
, a instance of BsonValueReader
with a type
of null
is returned.