Cool. Thanks. It's nice to better understand how this works. To be honest I'm still figuring out how to make that snippet work as a check in the assert.

On a side note. Do you have an idea how a user could accomplish this from the js api? I've compiled node and v8 to 32 bit and tried every variation I can think of reading and writing to Buffers and ArrayBuffers using node's Buffer read/write methods and v8's and node's Typed Arrays.