Bun

指南

二进制数据

使用 Bun 在二进制数据格式之间进行转换的指南集合

Binary data

Convert an ArrayBuffer to an array of numbers with Bun

View guide

Binary data

Convert an ArrayBuffer to a Blob with Bun

View guide

Binary data

Convert an ArrayBuffer to a Buffer with Bun

View guide

Binary data

Convert an ArrayBuffer to a string with Bun

View guide

Binary data

Convert an ArrayBuffer to a Uint8Array with Bun

View guide

Binary data

Convert a Blob to an ArrayBuffer with Bun

View guide

Binary data

Convert a Blob to a DataView with Bun

View guide

Binary data

Convert a Blob to a ReadableStream with Bun

View guide

Binary data

Convert a Blob to a string with Bun

View guide

Binary data

Convert a Blob to a Uint8Array with Bun

View guide

Binary data

Convert a Buffer to an ArrayBuffer with Bun

View guide

Binary data

Convert a Buffer to a blob with Bun

View guide

Binary data

Convert a Buffer to a ReadableStream with Bun

View guide

Binary data

Convert a Buffer to a string with Bun

View guide

Binary data

Convert a Buffer to a Uint8Array with Bun

View guide

Binary data

Convert a DataView to a string with Bun

View guide

Binary data

Convert a Uint8Array to an ArrayBuffer with Bun

View guide

Binary data

Convert a Uint8Array to a Blob with Bun

View guide

Binary data

Convert a Uint8Array to a Buffer with Bun

View guide

Binary data

Convert a Uint8Array to a DataView with Bun

View guide

Binary data

Convert a Uint8Array to a ReadableStream with Bun

View guide

Binary data

Convert a Uint8Array to a string with Bun

View guide