logo
Home XtGem- Templates- XtScript- bottom
XtGemmanual

XtScript functions

hex2bin

Decodes a hexadecimally encoded binary string

Syntax

[var $... = ]call hex2bin $val=...[...] optional · ... your value

Example

<!--parser:xtscript-->
var $input=6578616d706c65206865782064617461
var $output = call hex2bin $val=$input
print input = $input<br />
print output = $output
<!--/parser:xtscript-->

Copy as text

Output reload

input = 6578616d706c65206865782064617461
output = example hex data

Related

bin2hex dechex hexdec

XtGem manual · all sections

Powered by XtGem
About us Contact Forum top