OutputRangeStream

An output stream implementation that wraps a Phobos-style output range.

struct OutputRangeStream (
R
E = ElementType!R
) if (
isOutputRange!(R, E)
) {}

Members

Functions

writeToStream
StreamResult writeToStream(E[] buffer)

Writes the elements in buffer to the underlying output range.

Meta