Kotlin BSON • Multiplatform abstraction for different BSON implementations • opensavvy.ktmongo.bson.types • ObjectId • hex
hex
Generates a hex representation of this ObjectId instance.
The output string can be passed to ObjectId constructor to obtain a new identical ObjectId instance.