toHex method

String toHex()

Converts the object to a hexadecimal string.

Implementation

String toHex() {
  return BytesUtils.toHexString(toBytes());
}