- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 16 Jun 2015 01:54:25 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 16 June 2015 08:54:53 UTC
> + const reader = rbs.getReader();
> +
> + reader.read().then(result => {
> + t.equals(result.done, false);
> +
> + const view = result.value;
> + t.equals(view.constructor, Uint8Array);
> + t.equals(view.buffer.byteLength, 32);
> + t.equals(view.byteOffset, 0);
> + t.equals(view.byteLength, 32);
> +
> + t.end();
> + });
> +});
> +
> +test('ReadableByteStream: enqueue(), read(view) partially, then read()', t => {
:)
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/361/files#r32501908
Received on Tuesday, 16 June 2015 08:54:53 UTC