read

abstract fun read(index: Int): BsonValueReader?(source)

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.