Convert a Buffer to an ArrayBuffer
The Node.js Buffer class views and manipulates data in an underlying ArrayBuffer. The buffer property returns that ArrayBuffer.
TypeScript
const nodeBuf = Buffer.alloc(64);
const arrBuf = nodeBuf.buffer;
See Binary Data.