{"ScriptPreparationCode":"var size = 0xFFFF;\r\nvar buf = new ArrayBuffer(size);\r\nvar view = new DataView(buf);\r\nvar byte = new Uint8Array(buf);\r\n\r\nvar data = new Uint8Array(size);\r\n\r\nfor (let i = 0; i \u003C size; i\u002B\u002B) {\r\n\tdata[i] = 100*Math.random();\r\n}","TestCases":[{"Name":"DataView","Code":"for (let i = 0; i \u003C size; i\u002B\u002B) {\r\n\tview.setUint8(i, data[i]);\r\n}","IsDeferred":false},{"Name":"Uint8Array by byte","Code":"for (let i = 0; i \u003C size; i\u002B\u002B) {\r\n\tbyte[i] = data[i];\r\n}","IsDeferred":false},{"Name":"Uint8Array with set","Code":"byte.set(data);","IsDeferred":false},{"Name":"with Float64Array","Code":"(new Float64Array(buf, 0, size/8))\r\n .set(new Float64Array(data.buffer, 0, size/8));","IsDeferred":false}]}