bytebuffer.js
bytebuffer.js copied to clipboard
toArrayBuffer doesnt work
buffer.toArrayBuffer(true); fails with:
RangeError: Illegal range: 0 <= 7481 <= 16 <= 8192. Not sure why.
Did you call flip before calling toArrayBuffer? https://github.com/dcodeIO/bytebuffer.js/wiki/API#bytebufferflip