title: How to write 64-bit BigInt to Buffer?
body: <p>Is it possible to write 64-bit BigInts into a <code>Buffer</code> in Node.js (10.7+) yet?</p>
  
  <p>Or do I still have to do it in two operations?</p>
  
  <pre><code>let buf = Buffer.allocUnsafe(16);
  buf.writeUInt32BE(Number(time&gt;&gt;32n),0,true);
  buf.writeUInt32BE(Number(time&amp;4294967295n),4,true);
  </code></pre>
  
  <p>I can't find anything promising in <a href="https://nodejs.org/api/buffer.html" rel="nofollow noreferrer">the docs</a>, but there's other barely documented methods such as <code>BigInt.asUintN</code>, so i thought I'd ask.</p>