(hexx)
| 17 | } |
| 18 | |
| 19 | function convertHex(hexx) { |
| 20 | var hex = hexx.toString(); //force conversion |
| 21 | var str = ""; |
| 22 | for (var i = 0; i < hex.length; i += 2) { |
| 23 | let char = String.fromCharCode(parseInt(hex.substr(i, 2), 16)); |
| 24 | if (char != "\u0000") str += char; |
| 25 | } |
| 26 | return str; |
| 27 | } |
| 28 | |
| 29 | export { ensureException, timeDifference, convertHex }; |
| 30 |
nothing calls this directly
no outgoing calls
no test coverage detected