js Blob转ArayBuffer
1273 ワード
var reader = new FileReader();
reader.onload = function()
{
var buf = new Uint8Array(this.result);
}
reader.readAsArrayBuffer(blob);
var reader = new FileReader();
reader.onload = function()
{
var buf = new Uint8Array(this.result);
}
reader.readAsArrayBuffer(blob);