title: How to read/write data to ArrayBuffer from C++ Node.js addon?
body: <p>In short, I have an addon that completes an operation which results in a <code>uint8_t</code> array. I need to convert this array and its contents to an <code>ArrayBuffer</code>, and return that.</p>
  
  <p>Conversely, the addon can also accept an <code>ArrayBuffer</code> as input, and I need to convert that, along with its contents, into a <code>uint8_t</code> array.</p>
  
  <p>I am having trouble finding clear documentation on how to do so. I am new to Node, v8, addons, etc. If someone knows how to do this and could help me out that would be great.</p>