其中,buffer 就是輸入的原始binary 資料、形式是ArrayBuffer。 ... image.src = 'data:image/jpg;base64,' + encode(new Uint8Array(buffer));.
確定! 回上一頁