- From: isonmad <notifications@github.com>
- Date: Wed, 26 Oct 2016 18:00:50 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 27 October 2016 01:01:26 UTC
What about a Reverse BYOB Writer? One that makes an identity TransformStream trivial to implement, once we add `type: "bytes"` option to the TransformStream constructor?
Something like
writable.getBufferWriter({
writeInto(buffer) {
return promiseFulfilledWithNumberOfBytesWrittenAfterAsynchronouslyWritingBytesInto(buffer);
}
});
--
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/495#issuecomment-256519173
Received on Thursday, 27 October 2016 01:01:26 UTC