OutputRangeStream.writeToStream

Writes the elements in buffer to the underlying output range.

struct OutputRangeStream(R, E = ElementType!R)
writeToStream
(
E[] buffer
)
if (
isOutputRange!(R, E)
)

Parameters

buffer E[]

The buffer of elements to write.

Return Value

Always the number of elements in buffer. If the underlying range throws an exception, this will be thrown by this stream.

Meta