toHex

Encode the current ByteArray to a hex-encoded string, wrapped in a HexData record.

Return

Hex-encoded string from the current set of bytes, wrapped in an encoded data record.


Encode the current String to a hex-encoded string, wrapped in a HexData record.

Return

Hex-encoded string from the current string, wrapped in an encoded data record.