{"ScriptPreparationCode":"var [testDecode, testFCCodeBuf, testFCCodeArr, testFCPointBuf, testFCPointArr] = (function(){\r\n \u0022use strict\u0022;\r\n var bytesArray = [84,104,105,115,32,105,115,32,97,32,115,97,109,112,108,101,32,112,97,114,97,103,114,97,112,104,46];\r\n var bufferArray = new Uint8Array(bytesArray);\r\n var decoder = new TextDecoder(); // default \u0027utf-8\u0027 or \u0027utf8\u0027\r\n var {fromCharCode, fromCodePoint} = String;\r\n var retStr = \u0022\u0022;\r\n self.getRetStr = function() {return retStr};\r\n \r\n function testDecode() {\r\n \tfor (var i=0; i \u003C 256; i=i\u002B1|0) retStr = \u0022\u0022 \u002B decoder.decode(bufferArray);\r\n }\r\n function testFCCodeBuf() {\r\n \tfor (var i=0; i \u003C 256; i=i\u002B1|0) retStr = \u0022\u0022 \u002B fromCharCode.apply(null, bufferArray);\r\n }\r\n function testFCCodeArr() {\r\n \tfor (var i=0; i \u003C 256; i=i\u002B1|0) retStr = \u0022\u0022 \u002B fromCharCode.apply(null, bytesArray);\r\n }\r\n function testFCPointBuf() {\r\n \tfor (var i=0; i \u003C 256; i=i\u002B1|0) retStr = \u0022\u0022 \u002B fromCodePoint.apply(null, bufferArray);\r\n }\r\n function testFCPointArr() {\r\n \tfor (var i=0; i \u003C 256; i=i\u002B1|0) retStr = \u0022\u0022 \u002B fromCodePoint.apply(null, bytesArray);\r\n }\r\n \r\n return [testDecode, testFCCodeBuf, testFCCodeArr, testFCPointBuf, testFCPointArr];\r\n})();\r\n","TestCases":[{"Name":"TextDecoder on Uint8Array","Code":"testDecode();","IsDeferred":false},{"Name":"String.fromCharCode on Uint8Array","Code":"testFCCodeBuf();","IsDeferred":false},{"Name":"String.fromCharCode on Array","Code":"testFCCodeArr();","IsDeferred":false},{"Name":"String.fromCodePoint on Uint8Array","Code":"testFCPointBuf();","IsDeferred":false},{"Name":"String.fromCodePoint on Array","Code":"testFCPointArr();","IsDeferred":false}]}