bytes>hex-string ( bytes -- hex-string )
Hex Strings

Next:hex-string>bytes ( hex-string -- bytes )


Vocabulary
hex-strings

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: hex-strings prettyprint ; B{ 1 2 3 4 } bytes>hex-string .
"01020304"


Notes
Numbers are zero-padded on the left.

See also
hex-string>bytes

Definition