mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-25 22:10:10 +00:00
fb7f11263c
Instead of manually allocating a chunk of memory and asking V8 to create an ArrayBuffer around it, have V8 create an ArrayBuffer with its own allocator and copy the data in it. (fixes #1197) Remove an extra copy when reading data from ArrayBufferViews. Remove TODOs for Node.js versions older than 4.