method Body.bytes
#Body.bytes(): Promise<Uint8Array<ArrayBuffer>>
Takes a Response
stream and reads it to completion. It returns a promise
that resolves with a Uint8Array
.
Return Type #
Promise<Uint8Array<ArrayBuffer>>
#Body.bytes(): Promise<Uint8Array<ArrayBuffer>>
Takes a Response
stream and reads it to completion. It returns a promise
that resolves with a Uint8Array
.
Promise<Uint8Array<ArrayBuffer>>