独享拥抱 2022-05-04 13:53:59
```js String.fromCharCode(...new Uint8Array(response.data))https://blackstar.coding.me/2018-08-23-arraybuffer-to-base64orblob.html
这里返回的字符串还需要用 window.btoa() 处理一下才能是 base64 编码的 ASCII 字符串吧
- 共 1 页
- 1
```js String.fromCharCode(...new Uint8Array(response.data))https://blackstar.coding.me/2018-08-23-arraybuffer-to-base64orblob.html
这里返回的字符串还需要用 window.btoa() 处理一下才能是 base64 编码的 ASCII 字符串吧
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
前端的原始API还有没写的吗?
第 158 题:如何模拟实现 Array.prototype.splice