This language bar is your friend. Select your favorite languages!

Idiom #175 Bytes to hex string

From array a of n bytes, build the equivalent hex string s of 2n digits.
Each byte (256 possible values) is encoded as two hexadecimal characters (16 possible values per digit).

#Edit dateEdit SummaryEditor
👁 Δ 11 2019-04-10, 14:38 New Rust implementation by user [GobbleCock] GobbleCock
👁 Δ 10 2019-03-26, 21:24 [Python] +DocURL (for python 3) programming-idioms.org
👁 Δ 9 2019-03-19, 16:38 New D implementation by user [cym13] cym13
👁 Δ 8 2019-02-11, 19:59 New Python implementation by user [Oldboy] Oldboy
👁 Δ 7 2019-01-06, 00:09 [Ruby] Forgot to assign to s steenslag
👁 Δ 6 2019-01-05, 23:52 New Ruby implementation by user [steenslag] steenslag
👁 Δ 5 2018-12-30, 12:36 [Pascal] No begin/end needed programming-idioms.org
👁 Δ 4 2018-12-28, 22:08 New Pascal implementation by user [Bart] Bart
👁 Δ 3 2018-12-16, 13:56 Linked to idiom #176 [Hex string to byte array] programming-idioms.org
👁 Δ 2 2018-12-16, 13:51 More details in idiom statement programming-idioms.org
1 2018-12-16, 13:49 Idiom creation by user [programming-idioms.org] programming-idioms.org