---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---
# Response.arrayBuffer()

The **`arrayBuffer()`** method of the [`Response`](../../../globals/Response/Response.mdx) interface
takes a [`Response`](../../../globals/Response/Response.mdx) stream and reads it to completion. It returns a promise
that resolves with an [`ArrayBuffer`](../../../globals/ArrayBuffer/ArrayBuffer.mdx).

## Syntax

```js
arrayBuffer()
```

### Parameters

None.

### Return value

A promise that resolves with an [`ArrayBuffer`](../../../globals/ArrayBuffer/ArrayBuffer.mdx).
