hex-string>bytes ( hex-string -- bytes )


Vocabulary
math.parser

Inputs
hex-stringa sequence


Outputs
bytesa byte-array


Word description
Converts a sequence of hex numbers in the range [00,ff] to a sequence of bytes (integers in the range [0,255]).

Examples
USING: math.parser prettyprint ; "cafebabe" hex-string>bytes .
B{ 202 254 186 190 }


See also
bytes>hex-string

Definition