void R2::OffsetElementPointer(unsigned offset)
This function offsets the element pointer within a segment.
The 1-based offset.
The element pointer is moved forward the specified number of elements. This is the case even if subsequent element identities are sparse. That is, this method counts the elements rather than just add the specified offset to the element pointer. When the end of segment is reached before the offset is complete, the new element identity is the difference between the highest offset element identity and the remaining amount to offset.