Module jls.util.hex
Provide hexadecimal codec.
Functions
decode (value) | Decodes the specified value. |
encode (value[, lc=false]) | Encodes the specified value. |
Functions
- decode (value)
-
Decodes the specified value.
Parameters:
- value string the value to decode as an hexadecimal string.
Returns:
-
string
the decoded value as a string.
- encode (value[, lc=false])
-
Encodes the specified value.
Parameters:
- value string the value to encode as a string.
- lc boolean true to encode using lowercases. (default false)
Returns:
-
string
the encoded value as an hexadecimal string.