- From: Mattias Buelens <notifications@github.com>
- Date: Fri, 21 May 2021 16:50:22 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 21 May 2021 23:50:35 UTC
@MattiasBuelens commented on this pull request.
> + <p>The new |view| has to be a view onto the same backing memory region as
+ {{ReadableStreamBYOBRequest/view}}, i.e. its buffer has to equal (or be a
+ <a href="#transfer-array-buffer">transferred</a> version of) {{ReadableStreamBYOBRequest/view}}'s
+ buffer. Its <code>byteOffset</code> has to equal {{ReadableStreamBYOBRequest/view}}'s
+ <code>byteOffset</code>, and its <code>byteLength</code> (representing the number of bytes written)
+ has to be less than or equal to that of {{ReadableStreamBYOBRequest/view}}.
+
Almost forgot: [we wanted to document](https://github.com/whatwg/streams/pull/1114#discussion_r603504851) how to correctly use `respondWithNewView`. So here's that.
--
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/1123#pullrequestreview-666107464
Received on Friday, 21 May 2021 23:50:35 UTC