mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Update arraybuffer-to-buffer.md (#3906)
Fix title. This page shows how to convert an ArrayBuffer to a Buffer, not a Uint8Array
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
name: Convert an ArrayBuffer to a Uint8Array
|
||||
name: Convert an ArrayBuffer to a Buffer
|
||||
---
|
||||
|
||||
The Node.js [`Buffer`](https://nodejs.org/api/buffer.html) API predates the introduction of `ArrayBuffer` into the JavaScript language. Bun implements both.
|
||||
|
||||
Reference in New Issue
Block a user