Guides Streams
Convert a ReadableStream to a Blob
Bun.readableStreamToBlob reads the contents of a ReadableStream into a Blob.
const stream = new ReadableStream();
const blob = await Bun.readableStreamToBlob(stream);Bun.readableStreamToBlob reads the contents of a ReadableStream into a Blob.
const stream = new ReadableStream();
const blob = await Bun.readableStreamToBlob(stream);