0

I want to convert my file which extends blob to byte array ? Is there any function in typescript which can do that?

user8478498
  • 1
  • 1
  • 1

1 Answers1

0

You can use fileReader

 var r = new FileReader();
    r.onload = function(){ alert(r.result); };
    r.readAsBinaryString(file);
Ashok
  • 743
  • 4
  • 13