{"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 data[i] = 100 * Math.random();\r\n}\r\n\r\nvar dataBytes = new Uint8Array(data);","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},{"Name":"Uint8Array with set other Uint8Array","Code":"byte.set(dataBytes, 0);","IsDeferred":false}]}