本页还没有译文
本页 4 段还没译成日本語,下面显示的是英文原文。Convert an ArrayBuffer to a Blob
还没翻译译自英文(bun.com)本页 4 段都还没译
You can construct a Blob from an array of "chunks", where each chunk is a string, binary data structure, or another Blob.
const buf = new ArrayBuffer(64);
const blob = new Blob([buf]);By default the type of the resulting Blob is unset. Set it with the type option.
const buf = new ArrayBuffer(64);
const blob = new Blob([buf], { type: "application/octet-stream" });
blob.type; // => "application/octet-stream"See Binary Data.
AI 翻译查看英文原文