- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 28 May 2015 13:28:03 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 28 May 2015 20:28:29 UTC
> Please suppose that the BYOB interface of a stream is given a Uint16Array with 1 element (i.e. backed with 2 byte long ArrayBuffer) I see, that makes sense. So to be clear: - Uint16Array byteLength = 2, 1 byte filled => error (your case) - Uint16Array byteLength = 20, 2 bytes filled => not an error? - Uint16Array byteLength = 20, 3 bytes filled => error? I cannot really tell whether or not this should be an error (or if the consumer should just deal with the fact they didn't get enough bytes) so am happy to go with your judgement. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/353#issuecomment-106586464
Received on Thursday, 28 May 2015 20:28:29 UTC