bytes method

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

Implementation

external JSPromise<JSUint8Array> bytes();