{"ScriptPreparationCode":"var bytes = [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,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,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,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,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,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,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\nvar bufferArray = new Uint8Array(bytes);\r\nvar decoder = new TextDecoder(); // default \u0027utf-8\u0027 or \u0027utf8\u0027\r\nvar batchSize = Math.floor(bytes.length/5);","TestCases":[{"Name":"Batching","Code":"var messageString = \u0027\u0027;\r\nwhile(bufferArray.length \u003E 0) {\r\n messageString.concat(String.fromCharCode.apply(null,bufferArray.slice(0, batchSize)));\r\n bufferArray = bufferArray.slice(batchSize);\r\n}","IsDeferred":false},{"Name":"decoder","Code":"decoder.decode(bufferArray)","IsDeferred":false}]}