BsonEncoder

interface BsonEncoder

The BsonEncoder interface

For custom serialization handlers

Functions

Link copied to clipboard
abstract fun encodeBsonValue(value: BsonValue)

Encodes a BsonValue

Link copied to clipboard
abstract fun encodeObjectId(value: ObjectId)

Encodes an ObjectId

Link copied to clipboard
abstract fun writer(): BsonWriter