{"ScriptPreparationCode":"var size = 0xFF;\r\nvar buf = new ArrayBuffer(size);\r\nvar view = new DataView(buf);\r\nvar byte = new Uint8Array(buf);\r\n\r\nvar data = [];\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; 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; i \u003C size; i\u002B\u002B) {\r\n\tbyte[i] = data[i];\r\n}","IsDeferred":false},{"Name":"Uint8Array with set","Code":"byte.set(data, 0);","IsDeferred":false}]}