Re: [streams] Byte stream update, including reference implementation (#361)

> +      queue.shift();
> +    } else {
> +      headOfQueue.byteOffset += bytesToCopy;
> +      headOfQueue.byteLength -= bytesToCopy;
> +    }
> +    controller._totalQueuedBytes -= bytesToCopy;
> +
> +    pullIntoDescriptor.bytesFilled += bytesToCopy;
> +
> +    totalBytesToCopyRemaining -= bytesToCopy
> +  }
> +
> +  return ready;
> +}
> +
> +function InitializeReadableByteStreamReader(reader, stream) {

Done by 7db54d1c0dcb0edc0419371cfac1d5b169b52c25

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/361/files#r33680790

Received on Wednesday, 1 July 2015 14:03:28 UTC