Function CircularBuffer.GetAbsolute

GetAbsolute (int index)

Indexes the buffer using absolute indices.

Public Readonly
T GetAbsolute (

int

index

)

Indexes the buffer using absolute indices.

When pushing to and popping from the buffer, the absolute indices do not change. So e.g. after doing PushStart(x) on an empty buffer, GetAbsolute(-1) will get the newly pushed element.