encoding.hex Package
Function Description
The hex package provides Hex encoding and decoding for strings.
Hex encoding (also referred to as hexadecimal encoding) converts data into a hexadecimal representation. Hex encoding uses 16 characters to represent data. The 16 characters are digits from 0 to 9 and letters from A to F (case-insensitive, that is, a to f is equivalent to A to F).
API List
Function
Name | Description |
---|---|
fromHexString(String) | Decodes a Hex-encoded string. |
toHexString(Array<Byte>) | Converts a character array into a Hex-encoded string. |