encoding.HexDecode
Returns the hexadecimal decoding of the given content.
- Syntax
- encoding.HexDecode INPUT
- Returns
- string
Usage
The encoding.HexDecode function returns the hexadecimal decoding of the given content. The function throws an error if the input is not a valid hexadecimal string. Use the encoding.HexEncode function to reverse the operation.
Examples
{{ "48656c6c6f20776f726c64" | encoding.HexDecode }} → Hello worldLast updated:
October 22, 2026
:
content: Apply style guide to encoding functions (8af4502f2)
Improve this page