syntax:functions:decode
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
syntax:functions:decode [2019/10/30 19:35] – created dmitry | syntax:functions:decode [2020/11/25 18:04] – dmitry | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====decode(method, text)===== | + | =====HexDecode(encoding, hex_text)===== |
- | Decodes | + | Converts the provided hex string into a text value. The text is assumed to have the specified encoding. |
+ | |||
+ | ^ Encoding | ||
+ | |base64 | ||
+ | |base64url | Base64 in URL encoding | | ||
+ | |utf-8 | ||
+ | |utf-16 | ||
- | ^ Method | ||
- | |uriComponentEscape |Unescapes a URI, and then converts any plus characters (" | ||
- | |Base64 | | ||
- | |Base64url | Base64 in URL encoding | | ||
**Example** | **Example** | ||
- | ^ Expression ^ Result | + | ^ Expression ^ Result |
- | | decode(" | + | | hexdecode(' |
+ | | hexdecode(' | ||
+ | |||
+ | Both arguments are case-insensitive. | ||
**See also** | **See also** | ||
+ | * [[syntax: | ||
* [[syntax: | * [[syntax: | ||
* [[syntax: | * [[syntax: |
syntax/functions/decode.txt · Last modified: 2021/09/18 21:06 by craigt