util: Add format for SharedArrayBuffer
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
util
Description of change
SharedArrayBuffer is a new global object to share memories between workers. Currently workers does not work in node, but future v8 has those new global objects. This change supports a format for SharedArrayBuffer.
Note: this PR is from code-and-learn https://github.com/nodejs/code-and-learn/issues/56#issuecomment-247447165