摘要: "文档" 切片下载 let data = new Blob(['hello ajanuw'], { type: 'application/text' }) let size = data.size; let data1 = data.slice(0, size / 2, data.type) let 阅读全文
posted @ 2018-07-01 18:00 Ajanuw 阅读(4284) 评论(0) 推荐(0) 编辑
摘要: 原文博客 { var buffer = new ArrayBuffer(2) var bytes = new Uint16Array(buffer) bytes[0] = (65 << 8) + 66 var blob = new Blob([buffer], { type: 'text/plain 阅读全文
posted @ 2018-07-01 16:53 Ajanuw 阅读(4975) 评论(0) 推荐(0) 编辑
摘要: blob arraybuffer 阅读全文
posted @ 2018-07-01 12:50 Ajanuw 阅读(1106) 评论(0) 推荐(0) 编辑