- From: Takeshi Yoshino <notifications@github.com>
- Date: Fri, 28 Oct 2016 08:09:10 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Friday, 28 October 2016 15:09:43 UTC
> Are there use-cases for zero-copy transform streams? Every useful stream I can think of has to at least read and write every byte, at which point zero-copy doesn't gain you much. One example I could come up with is some kind of crypto which XORs given byte stream without changing the length. The consumer want to read encrypted data. It passes buffer and the producer writes plain text into the zero-copy passed buffer. Then, the encrypting transform stream would apply the encryption and return it back to the consumer. -- 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-256946485
Received on Friday, 28 October 2016 15:09:43 UTC