- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 30 Jun 2015 21:34:59 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Wednesday, 1 July 2015 04:35:33 UTC
> + DetachReadableByteStreamReader(reader);
> +
> + return;
> + }
> +
> + pullIntoDescriptor.bytesFilled += bytesWritten;
> +
> + if (pullIntoDescriptor.bytesFilled >= pullIntoDescriptor.elementSize) {
> + this._pendingPullIntos.shift();
> +
> + let remainder;
> + if (pullIntoDescriptor.bytesFilled % pullIntoDescriptor.elementSize > 0) {
> + remainder = buffer.slice(result.bytesUsed, pullIntoDescriptor.bytesFilled);
> + }
> +
> + RespondToReadIntoRequest(reader, pullIntoDescriptor.buffer, pullIntoDescriptor.bytesFilled);
and, addressed your comment. 7b559f5f99709daa003a573d7d34c8e257a2f3d8
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/361/files#r33647580
Received on Wednesday, 1 July 2015 04:35:33 UTC