readAsArrayBuffer

The readAsArrayBuffer() method of the FileReader interface is used to start reading the contents of a specified Blob or File.

MDN Reference