Converting a BlobBuilder to string, in HTML5 Javascript

前端 未结 2 673
执笔经年
执笔经年 2021-01-24 04:42
          function blobToString(blob) {
             var reader = new FileReader();
             var d = \"\";
             reader.onloadend = function() {
                      


        
2条回答
  •  广开言路
    2021-01-24 05:33

    Check out http://blog.ericzhang.com/state-of-binary-in-the-browser/ and his binary.js project.

提交回复
热议问题