Array.readOnlyData

Undocumented in source. Be warned that the author may not have intended to support it.
struct Array(T, size_t chunkSize = 32)
const nothrow
const(T)[]
readOnlyData
()

Examples

Array!(int,4) arr;
scope(exit) arr.free();

foreach(i; 0..6) {
    arr.insertBack(i);
}

assert(arr.data == [0,1,2,3,4,5]);

Meta