(bytes)
| 353 | }; |
| 354 | |
| 355 | let bytesToHex = function (bytes) { |
| 356 | return bytes.map(item => ('0' + (item & 0xff).toString(16)).slice(-2)).join(''); |
| 357 | }; |
| 358 | |
| 359 | let hexDecode = function (str) { |
| 360 | return utf8decode(hexToBytes(str)); |
no outgoing calls
no test coverage detected