# Convert a Buffer to an ArrayBuffer

> Access the `ArrayBuffer` underlying a Node.js `Buffer` through its `.buffer` property.

The Node.js [`Buffer`](https://nodejs.org/api/buffer.html) class views and manipulates data in an underlying `ArrayBuffer`. The `buffer` property returns that `ArrayBuffer`.

```ts
const nodeBuf = Buffer.alloc(64);
const arrBuf = nodeBuf.buffer;
```

---

See [Binary Data](https://bun.aphrody.app/docs/runtime/binary-data#conversion).
