ArrayOutputStream.writeToStream

Writes data to this output stream's internal array.

struct ArrayOutputStream(E)
writeToStream
(
E[] buffer
)

Parameters

buffer E[]

The elements to write to the stream.

Return Value

The number of elements that were written. Barring memory issues, this will always equal the buffer's length.

Meta