Skip to main content
Body.bytes - Fetch - Web documentation
method Body.bytes
Private
Body.bytes(): Promise<Uint8Array>

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

Return Type

Promise<Uint8Array>
Back to top