def get_offset_into_buffer(self, position):
            current_generation = self
            while current_generation.__next_generation is not None:
                position += current_generation.__offset_to_next
                current_generation = current_generation.__next_generation
            return position
Calculates the offset for the position to the most recent mark call.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/log_processing.py/LogFileIterator.MarkGeneration.get_offset_into_buffer