toHexString

fun toHexString(): String

Converts this instance into a 24-byte hexadecimal string representation.

Return

a string representation of the ObjectId in hexadecimal format