Unit8Array is a typed array represents an array of 8-bit unsigned integers.
This is what I learnt from MDN. But why should we use Unit8Array specifically? Why not use a plain array instead? Why is Unit8Array often related to binary data?
Unit8Array is a typed array represents an array of 8-bit unsigned integers.
This is what I learnt from MDN. But why should we use Unit8Array specifically? Why not use a plain array instead? Why is Unit8Array often related to binary data?