Skip to main content
Version: 3.27.2

Response.arrayBuffer()

The arrayBuffer() method of the Response interface takes a Response stream and reads it to completion. It returns a promise that resolves with an ArrayBuffer.

Syntax

arrayBuffer()

Parameters

None.

Return value

A promise that resolves with an ArrayBuffer.