Skip to main content
Body.arrayBuffer - Fetch - Web documentation
method Body.arrayBuffer
Private
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>