Logo

Programming-Idioms

History of Idiom 176 > diff from v1 to v2

Edit summary for version 2 by programming-idioms.org:
Linked to idiom #175 [Bytes to hex string]

Version 1

2018-12-16, 13:56:22

Version 2

2018-12-16, 13:56:47

Idiom #176 Hex string to byte array

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

Idiom #176 Hex string to byte array

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