Maybe it’s late, or maybe it’s the sake, but I just read the docs for ArrayBuffer and can’t think of a single thing it would be really useful for.
Can someone enlighten me?
Are there any uses anyone can think of that don’t involve images?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Basically ArrayBuffer is used to keep binary data. It can be the binary data of an image for example.
In other languages buffers are proved very useful. Yes, of course it is a little more difficult to understand/use than other data types.
ArrayBuffer can be used to get data of jpg image (RGB bytes) and produce a png out of it by adding alpha byte (i.e. RGBA).
Mozilla site has given a small use of ArrayBuffer here