{"ScriptPreparationCode":"var hexVal = \u0027ed0c356af33bb022afe7c5f8557ad89c\u0027;\r\n\r\nfunction hexToArrayBuffer(hex) {\r\n\treturn new Uint8Array(hex.match(/[\\da-f]{2}/gi).map((h) =\u003E {\r\n\t\treturn parseInt(h, 16);\r\n\t})).buffer;\r\n}\r\n\r\nfunction hexStringToUint8Array(hexString) {\r\n var arrayBuffer = new Uint8Array(hexString.length / 2);\r\n for (var i = 0; i \u003C hexString.length; i \u002B= 2) {\r\n var byteValue = parseInt(hexString.substr(i, 2), 16);\r\n arrayBuffer[i / 2] = byteValue;\r\n }\r\n return arrayBuffer;\r\n}","TestCases":[{"Name":"regex match","Code":"hexToArrayBuffer(hexVal)","IsDeferred":false},{"Name":"parseInt 16","Code":"hexStringToUint8Array(hexVal)","IsDeferred":false}]}