[whatwg/streams] Using streams from other specs: explain some best practices for byte streams (#1086)

In particular, suggest accepting `BufferSource` for writables, but vending `Uint8Array`s for readables.

The latter goes against Web IDL's general guidelines (which suggest `ArrayBuffer`), but is justified in terms of how it impacts symmetry with BYOB readers.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1086

Received on Monday, 16 November 2020 20:28:54 UTC