ArrayOutputStream.toArrayRaw

Gets a slice representing the underlying array to which elements have been appended. Take caution, as this memory segment may be freed if this stream is deconstructed or written to again.

struct ArrayOutputStream(E)
E[]
toArrayRaw
()

Return Value

Type: E[]

A slice representing the array of elements that have been added to this stream.

Meta