title: Getting data from Arduino WebSocket sendBIN to Javascript as Blob
body: <p>I'm really struggling with trying to get data from blob in Javascript.</p>
  
  <p>The blob is from ArduinoWebSocket sendBin which is a uint8_t array of 4 elements.</p>
  
  <p>I debug the Javascript and get</p>
  
  <pre><code>e.data: Blob {size: 4, type: "", slice: function}
  </code></pre>
  
  <p>I've tried using FileReader from other examples like:</p>
  
  <pre><code>var reader = new FileReader();
  reader.readAsArrayBuffer(e.data);
  reader.onloadend = (event) =&gt; {
    // The contents of the BLOB are in reader.result:
    console.log(reader.result);
  }
  </code></pre>
  
  <p>I can see in debug</p>
  
  <pre><code>reader.result: ArrayBuffer {byteLength: 4}
  </code></pre>
  
  <p>But there is no way to see the data. I can see ArrayBuffer Prototype but as I drill down into that it just keeps going.</p>