What is the benefit or use-cases of Uint8Array?

Viewed 154

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?

0 Answers
Related