//In this example, we create a 8-byte buffer with a Int32Array view referring to the buffer:
const buffer = new ArrayBuffer(8);
const view = new Int32Array(buffer);
//To create a buffer, use Buffer.from();
//To learn more about what buffers are, check out this link: https://nodejs.org/en/knowledge/advanced/buffers/how-to-use-buffers/
/* Example: */
var buf = Buffer.from([anything that is a str or num], [encoding (string)]);
//To read a buffer, do this
var toString = buf.toString([encoding])