History of Idiom 176 > diff from v6 to v7
Edit summary for version 7 by 1.7.4:
[JS] Fixed so it worked :3
[JS] Fixed so it worked :3
↷
Version 6
2019-01-24, 13:35:04
Version 7
2019-01-24, 13:45:08
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).
Comments bubble
• throw out the last '_'
• turn 'this_thing' to ['this','thing']
• read the pairs as base 16