arrayBuffer method

JSPromise<JSArrayBuffer> 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.

Implementation

external JSPromise<JSArrayBuffer> arrayBuffer();