ScopedBuffer.moveDataAndEmplaceTo

Copies data into an array of the same length using memcpy C routine. Shrinks the length to 0.

struct ScopedBuffer(T, size_t bytes = 4096)
@system
void
moveDataAndEmplaceTo
(
T[] array
)
if (
bytes &&
T.sizeof <= bytes
)

Meta