fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 175: Bytes to hex string
Idiom # 175: Bytes to hex string
See
programming-idioms.org
:
Code
s := for r := "", r + b.hex 2 b in a else r
What are effects?
Running Example
ex175 is a := "Fuzion".utf8.as_array s := for r := "", r + b.hex 2 b in a else r say s
What are effects?
last changed: 2024-07-01
next: Idiom # 176: Hex string to byte array