HexUtil

object HexUtil

Functions

Link copied to clipboard
fun fromHex(stringWithHex: String): ByteArray

Decodes a string with hexadecimal numbers.

Link copied to clipboard
fun toHex(bytes: ByteArray, upperCase: Boolean = false, byteDivider: String = "", decodeAsString: Boolean = false): String

Encodes a byte array into hexadecimal numbers.