Read a raw response body stream into a Uint8Array, enforcing an optional size limit.
The response body stream to read
Maximum bytes to read (0 = unlimited)
Request URL (reserved for debugging/logging in error messages)
Optional
AbortSignal for cancellation
Complete body as a single Uint8Array
If the body exceeds maxBytes
If reading is aborted
Read a raw response body stream into a Uint8Array, enforcing an optional size limit.