zoukankan      html  css  js  c++  java
  • JS base64文件转化blob文件

    项目需要将后台返回的base64转换成文件并在页面前端浏览、播放、下载等,同时防止base64过长POST提交丢失

      /**
       * base64文件转换为blob文件
       * @param str_base64
       * @param name_file
       * @returns {string}
       */
      function base64ToBlob(str_base64, name_file) {
        let arr = str_base64.split(','),
          mime = arr[0].match(/:(.*?);/)[1],
          bstr = atob(arr[1]),
          n = bstr.length,
          u8arr = new Uint8Array(n);
    
        while (n--) {
          u8arr[n] = bstr.charCodeAt(n);
        }
    
        let file_blob = new File([u8arr], name_file, {type: mime});
    
        file_blob.lastModifiedDate = new Date();
        file_blob.name = name_file;
    
        return URL.createObjectURL(file_blob);
      }
      //调用
      const str_base64 = 'data:audio/mp3;base64,//NoxAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//NoxAApDAYwAMIMmRpjvQ7ctWc5/DKxdkc5NBQitNP4LL2oU+b+bPFAEw3XMRIxxRVPB84xFflXpTHiEDKj72hlYzpTUZf2afCZ5xPZZsjUDEE0E1EzghPE4i3J7BiBU6z5DFpIXB5227WpJHXKcyPibLgEzQgLNKKY0q5rng4jHEQgTbbi2QsntnpkC6QMLPKeLMjGW90RJGmcwWmuaaatZo9VKbGxnPpBkNcmnoYHqir25Lba/mGj55rqeXjymTD/Pz7JriTae28vP7z5EB0OhJjTUnaC//NoxCYg4pZZvFmHUdkTrBFPZsZP2i0KPAkMLarxAlMOifHqUC8qkSkno35ERlvS6pK0sTrc5gjVyVyz2MxQPycviVuHKg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qqqqqqqqqqqqqqqqq//NoxMMjq2KNvssFLqqqqqqqqqqqqqqqqqqqqqqqqqohiSxJOWySa/pel2AMsCmxx4/vo3i9AexAlPP+rAkzGmjHQ9zb3bWpS2KxVRGCPJFd7/3IkM//5ak43/84cGtD/0SNHmJ3p4kEI6bUazyCBnKUjKIQjZmhrEZMhxi1d1IMXqRPlf0Y7pppghw4y3HOQKOD55DXpoefc1s7eZTcxvw/qXU=';
      let _url_blob_file = base64ToBlob(str_base64, 'test.mp3');
      console.log(_url_blob_file)
  • 相关阅读:
    iOS IM开发建议(三)添加一个自定义键盘
    iOS IM开发建议(二)计算TableViewCell的高度:图文混排
    iOS IM开发建议(一)App框架设计
    iOS IM开发准备工作(五)iOS中的struct怎么处理
    关东升的iOS实战系列图书 《iOS实战:入门与提高卷(Swift版)》已经上市
    关东升的《从零开始学Swift》3月9日已经上架
    《从零开始学Swift》学习笔记(Day 71)——Swift与C/C++混合编程之数据类型映射
    《从零开始学Swift》学习笔记(Day 70)——Swift与Objective-C混合编程之Swift与Objective-C API映射
    《从零开始学Swift》学习笔记(Day 69)——Swift与Objective-C混合编程之语言
    《从零开始学Swift》学习笔记(Day 10)——运算符是“ +、-、*、/ ”吗?
  • 原文地址:https://www.cnblogs.com/PHPcoder404/p/14184411.html
Copyright © 2011-2022 走看看