ArrayBuffer, binary arrays - The Modern JavaScript Tutorial
https://javascript.info/arraybuffer-binary-arrays
WEBJul 11, 2022 · If an Array, or any array-like object is given, it creates a typed array of the same length and copies the content. We can use it to pre-fill the array with the data: let arr = new Uint8Array([0, 1, 2, 3]); alert( arr.length ); // 4, created binary array of the same length alert( arr[1] ); // 1, filled with 4 bytes (unsigned 8-bit integers ...
DA: 89 PA: 68 MOZ Rank: 69