ascii :hex-encode ( string $MESSAGE )
ascii :encodeHex ( string $MESSAGE )
Returns a hexadecimal representation of given string.
# :hex-encode example. :set &enc s'48657861646563696d616c2034206c79666521' :set &str :hex-encode s'Hexadecimal 4 lyfe!' !if :eq $enc $str :writeln s"awful's hex-encode seems to work fine." !else :writeln s"Uh-oh, it seems awful's hex-encode is broken." !fi
wikistrona zmodyfikowana 2014/0601/2317