Buffer.data

The T[] containing the CPU's (our) copy of the data.

This member is aliassed as 'this', so you can use a Buffer!T object directly as if it is a T[]:

auto b = new Buffer!T([1,2,3]);
x[1] = 10;
class Buffer(T)
T[] data;

Meta