- From: Kagami Sascha Rosylight <notifications@github.com>
- Date: Tue, 14 Nov 2023 02:50:48 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 14 November 2023 10:50:54 UTC
### What is the issue with the Streams Standard? I just found that the chunk steps of [read all bytes](https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes) requires Uint8Array: >[chunk steps](https://streams.spec.whatwg.org/#read-request-chunk-steps), given chunk > 1. If chunk is not a [Uint8Array](https://tc39.es/ecma262/#sec-typedarray-objects) object, call failureSteps with a [TypeError](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-typeerror) and abort these steps. Maybe it can be BufferSource instead? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/1299 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/streams/issues/1299@github.com>
Received on Tuesday, 14 November 2023 10:50:54 UTC