[whatwg/fetch] Body.arrayBuffer(begin[, end]) (#554)

It would be very practical if `arrayBuffer()` method could take `begin` and `end` parameters in order to give the ability to reduce memory usage for requests whose content is "huge" but can still be useful in chunks (video and audio).

```javascript
const response = await fetch(videoUrl);
const slicedData =  await response.arrayBuffer(0, 1024);
```

R: @jakearchibald
FYI @paullewis

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/554

Received on Thursday, 15 June 2017 12:27:57 UTC