new buffer.Blob([sources[, options]])


版本历史
版本变更
v16.7.0

添加了标准的 endings 选项来替换行尾,并且删除了非标准的 encoding 选项。

v15.7.0, v14.18.0

新增于: v15.7.0, v14.18.0

创建新的 Blob 对象,其中包含给定源的串接。

\Creates a new Blob object containing a concatenation of the given sources.

<ArrayBuffer><TypedArray><DataView><Buffer> 源被复制到 'Blob' 中,因此可以在创建 'Blob' 后安全地进行修改。

\<ArrayBuffer>, <TypedArray>, <DataView>, and <Buffer> sources are copied into the 'Blob' and can therefore be safely modified after the 'Blob' is created.

字符串源被编码为 UTF-8 字节序列并复制到 Blob 中。每个字符串部分中不匹配的代理对将被替换为 Unicode U+FFFD 替换字符。

\String sources are encoded as UTF-8 byte sequences and copied into the Blob. Unmatched surrogate pairs within each string part will be replaced by Unicode U+FFFD replacement characters.

AltStyle によって変換されたページ (->オリジナル) /