Re: [whatwg/streams] Add ReadableStreamBYOBReader.read(view, { min }) (#1145)

@crowlKats commented on this pull request.



>   1. Let |totalBytesToCopyRemaining| be |maxBytesToCopy|.
  1. Let |ready| be false.
- 1. If |maxAlignedBytes| > |currentAlignedBytes|,
+ 1. Assert: |pullIntoDescriptor|'s [=pull-into descriptor/bytes filled=] < |pullIntoDescriptor|'s
+    [=pull-into descriptor/minimum fill=].
+ 1. Let |maxAlignedBytes| be |maxBytesFilled| − (|maxBytesFilled| mod |pullIntoDescriptor|'s
+    [=pull-into descriptor/element size=]).
+ 1. If |maxAlignedBytes| ≥ [=pull-into descriptor/minimum fill=],

```suggestion
 1. If |maxAlignedBytes| ≥ |pullIntoDescriptor|'s
    [=pull-into descriptor/minimum fill=],
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1145#pullrequestreview-980731791

You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1145/review/980731791@github.com>

Received on Friday, 20 May 2022 23:20:51 UTC