OutputStreamObject.writeToStream

Writes up to buffer.length elements to the wrapped output stream.

class OutputStreamObject(S, E = StreamType!S)
writeToStream
(
E[] buffer
)
if ()

Parameters

buffer E[]

The buffer to write elements from.

Return Value

Either the number of elements written, or a stream error.

Meta