fun <T> BinaryFormat.dumps(serializer: SerializationStrategy<T>, value: T): String
Serializes value to ByteArray using given serializer and then represents bytes in a human-readable form.
Each byte from byte array represented by its hex value in range 00..FF
(i.e. each byte corresponds to two chars in the resulting string).
The resulting string is lowercase and does not contain 0x
prefix.
This method may be useful for debugging and testing.
See Also
fun <reified T : Any> BinaryFormat.dumps(value: T): String