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


Vocabulary
math.parser

Inputs
bytesa sequence


Outputs
hex-stringa string


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

Examples
USING: math.parser prettyprint ; B{ 1 2 3 4 } bytes>hex-string .
"01020304"


Notes
Numbers are zero-padded on the left.

See also
hex-string>bytes

Definition