Re: [whatwg/streams] Fix readable byte stream example (#1080)

@nidhijaju commented on this pull request.



>  
-   const view = new Uint8Array(buffer, offset, buffer.byteLength - offset);
-   return reader.read(view).then(newView => {
-     return readInto(newView.buffer, offset + newView.byteLength);

Sorry, yes I've changed the explanation to reflect that now. Thank you!

-- 
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/streams/pull/1080#discussion_r513131284

Received on Wednesday, 28 October 2020 01:48:24 UTC