Ein Blob kann aus einem Array von "Chunks" erstellt werden, wobei jeder Chunk ein String, eine Binärdatenstruktur (einschließlich Uint8Array) oder ein anderes Blob ist.
ts
const arr = new Uint8Array([0x68, 0x65, 0x6c, 0x6c, 0x6f]);
const blob = new Blob([arr]);
console.log(await blob.text());
// => "hello"Siehe Docs > API > Binärdaten für vollständige Dokumentation zur Manipulation von Binärdaten mit Bun.