An output pipe writes all its data to a given sink stream. Any data in the output pipe's window has been written to the stream.
auto auto outputPipe(Chain, Sink) (
if (isIopipe!Chain && is(typeof(dev
.write(c .window)) == size_t));
The returned iopipe has a function "flush" that will extend a chunk of data and then release it immediately.
|c||The input data to write to the stream.|
|dev|| The output stream to write data to. This must have a function
An iopipe that gives a view of the written data. Note that you don't have to do anything with the data.