SliceBuffer.removeSlice

Removes an indexed item in the items list, maintaining the order of the list.

Note that the item's content in the buffer is *not* removed, the item is simply removed from the list of slices.

Beware that this removal involves a call to memmove.

class SliceBuffer(T)
T[]
removeSlice
(
size_t index
)

Parameters

index size_t

index of item to remove

Return Value

Type: T[]

indexed item

Throws

out of bounds exception if index is > the number of items added to the buffer

Meta