const blob = new Blob(["Hello, World"], { type: 'text/plain' });
const fileReader = new FileReader();
fileReader.onload = function(event) {
const buffer = event.target.result;
console.log(buffer); // This will be the buffer representation of the blob};
fileReader.readAsArrayBuffer(blob);