Body.arrayBuffer - Web documentation
method Body.arrayBuffer
Body.arrayBuffer(): Promise<ArrayBuffer>

Takes a Response stream and reads it to completion. It returns a promise that resolves with an ArrayBuffer.

Return Type

Promise<ArrayBuffer>