Funny that I was implementing that today, but my i...
# stdlib
m
Funny that I was implementing that today, but my implementation is longer xP
Copy code
fun byteArrayToHexString(b: ByteArray) = b.joinToString(
        separator = "",
        transform = { byte -> Integer.toString((byte.toInt() and 0xFF) + 0x100, 16).substring(1) }
)