Buffer.removeMemoryRange

void removeMemoryRange(uint idx, int length)

Removes length memory blocks in buffer starting from idx.

length can be -1, in which case all memory starting from idx is removed.

Parameters

idxan index
lengtha length