An ArrayBuffer returned from a module, is no longer an instanceof ArrayBuffer, consequently any view (Uint8Array,Int8Array... etc.) created from it is zero sized.
code example: https://gist.github.com/mnaamani/5540054
I'm blocked by a similar issue.
arr instanceof global.ArrayBuffer ?
arr instanceof global.ArrayBuffer
arr instanceof global.ArrayBuffer is 'true'
the ArrayBufferView constructors need to do a similar check as well. Maybe someone familiar with TypedArrays implementation in node-webkit can have a look at the native code?
Hello, this is expected. For the reason and workaround, please see #716 .
And this issue is duplicate with #716