TCircularBuffer::GetNextIndex

Calculates the index that follows the given index.