HexUtils

object HexUtils

Hex utility object

class Object
trait Matchable
class Any

Value members

Concrete methods

def fromHex(hex: String): Array[Byte]

convert hex string into byte array

convert hex string into byte array

Value Params
hex

: hex string

Returns

byte array

def toHex(bytes: Array[Byte]): Option[String]

Convert byte array to hex string

Convert byte array to hex string