hexEncode

text hexEncode(value, charset)

Encode a number or the bytes of text into an hexadecimal representation.

Parameters

  1. value — number or text to encode.
  2. charset — optional charset of character representation, default is UTF-8.

Returns