SliceBuffer.opIndex

Gets an indexed item in the items list.

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

Parameters

index size_t

index of item to get

Return Value

Type: T[]

indexed item

Throws

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

Meta