title: Converting ArrayBuffer to int in Javascript
body: <p>I am trying to convert an ArrayBuffer to an int using JavaScript. My app uses WebSocket and on the Sender side I have an integer between 0 and 4. I convert this ArraySegment in C#. I send this via web sockets to my JavaScript client which receives it as an ArrayBuffer.</p>
  
  <p>The ArrayBuffer now holds the value of 0 or 1 or 2 or 3. How can I 'read' that value?</p>