title: Convert nodejs' Buffer to browsers' javascript
body: <p>I'm converting my code from Node.js to browsers' javascript, but I have a problem with the Buffers in node.js. How can I use them in Javascript?</p>
  
  <p>Here's an example:</p>
  
  <pre><code>new Buffer("foo", encoding='utf8')
  &lt;Buffer 66 6f 6f&gt;
  </code></pre>
  
  <p>I need to transform [66, 6f, 6f] in javascript to "foo" and vice-versa. How can I do that?
  NOTE: this must be done without Node.js.</p>