ArrayOutputStream.toArray

Gets the internal array to which elements have been appended. This method is not compatible with BetterC mode; use toArrayRaw for that.

struct ArrayOutputStream(E)
version(!D_BetterC)
E[]
toArray
()

Return Value

Type: E[]

The internal array.

Meta