Search

Hex to Str

function hextostr(hex) { var str = ''; for (var i = 0; i < hex.length; i += 2) str += String.fromCharCode(parseInt(hex.substr(i, 2), 16)); return str; } // test 출력 console.log(hextostr("74657374"))
JavaScript
복사