Bun.write() to write a Blob to disk. The first argument is a destination, like an absolute path or BunFile instance. The second argument is the data to write.
The
BunFile class extends Blob, so you can pass a BunFile directly into Bun.write() as well.
See
Bun.write().