Skip to main content

Documentation Index

Fetch the complete documentation index at: https://bun.zhcndoc.com/llms.txt

Use this file to discover all available pages before exploring further.

一个 Blob 可以由一组“块”数组构造,每个块可以是字符串、二进制数据结构(包括 Buffer)、或者另一个 Blob
const buf = Buffer.from("hello");
const blob = new Blob([buf]);

完整的二进制数据操作文档请参见 文档 > API > 二进制数据