kotlin-stdlib / kotlin.text / HexFormat / toString toString Common JVM JS Native 1.0 fun toString(): String(source) Returns a string representation of the object.