Buffer.removeMemoryRange

Remove length memory blocks in buffer starting from idx.

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

class Buffer
void
removeMemoryRange
(
uint idx
,
int length
)

Parameters

idx uint

an index

length int

a length