Detach the buffer, but do not delete it, and return a pointer to the start of the buffer
Type * detachBuffer();
DMemBuffer Template