HexUtils

object HexUtils

Hex utility object

class Object
trait Matchable
class Any

Value members

Concrete methods

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

convert hex string into byte array

convert hex string into byte array

Value parameters:
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