[Runtime
](../../../index.md)[Package Manager
](../../../pm/cli/install/index.md)[Bundler
](../../../bundler/index.md)[Test Runner
](../../../test/index.md)[Guides
](../../index.md)[Reference
](https://bun.com/reference)[Blog
](https://bun.com/blog)[Feedback
](../../../feedback/index.md)
The Node.js Buffer class extends Uint8Array, so no conversion is needed. All properties and methods on Uint8Array are available on Buffer.
const buf = Buffer.alloc(64);
buf instanceof Uint8Array; // => true
See Docs > API > Binary Data for complete documentation on manipulating binary data with Bun.
Was this page helpful?
[
Convert a Buffer to a blob
Previous
](../buffer-to-blob/index.md)[
Convert a Buffer to a ReadableStream
Next
](../buffer-to-readablestream/index.md)