hex

fun hex(bytes: ByteArray): String

Encode bytes as a HEX string with no spaces, newlines and 0x prefixes.


Decode bytes from HEX string. It should be no spaces and 0x prefixes.