There are a number of questions and resources about getting Typed arrays from an ArrayBuffer. An example: How to get an array from ArrayBuffer?. I need an actual array
I tried Array.from(myArrayBuffer) and get this:
// buf is an ArrayBuffer(878468)
Array.from(buf) // Array(0) length: 0
It seems there were no direct conversion from
ArrayBufferto a vanilla array. Two steps are neededSo: