User Tools

Site Tools


syntax:functions:decode
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
Next revision
syntax:functions:decode [2020/11/25 18:04] dmitry
Line 1: Line 1:
 +=====HexDecode(encoding, hex_text)=====
  
 +Converts the provided hex string into a text value. The text is assumed to have the specified encoding. 
 +
 +^  Encoding  ^  Notes  ^
 +|base64    | |
 +|base64url | Base64 in URL encoding |
 +|utf-8     | |
 +|utf-16    | |
 +
 +
 +**Example**
 +^ Expression ^  Result  ^
 +| hexdecode('base64url', '56616c68616c6c61'   |VmFsaGFsbGE= |
 +| hexdecode('utf-8', '56616c68616c6c61'       |Valhalla |
 +
 +Both arguments are case-insensitive.
 +
 +**See also**
 +
 +  * [[syntax:functions:hexencode]]
 +  * [[syntax:functions:encode]]
 +  * [[syntax:functions:uridecode]]
syntax/functions/decode.txt · Last modified: 2021/09/18 21:06 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki