How to get size of ArrayBuffer in Javascript
You can get the size of an ArrayBuffer in Javascript using .byteLength
:
var buf = new ArrayBuffer(8);
buf.byteLength // == 8
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow