src: use ArrayBufferViewContents more frequently
Using ArrayBufferViewContents
over
Buffer::Data()
/Buffer::Length()
or SPREAD_BUFFER_ARG
has the
advantages of creating fewer individual variables to keep track off,
not being a “magic” macro that creates variables, reducing code size,
and being faster when receiving on-heap TypedArrays.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines