def _skip_lines(self, file_to_read, read_buffer, num_lines):
    'Skip num_lines from file_to_read, return num_lines+1 start position.'
    if (file_to_read.tell() > 0):
        file_to_read.seek(0)
    position = 0
    for _ in range(num_lines):
        (_, num_bytes_to_next_record) = self._read_record(file_to_read, read_buffer)
        if (num_bytes_to_next_record < 0):
            break
        position += num_bytes_to_next_record
    return position
Skip num_lines from file_to_read, return num_lines+1 start position.
def _skip_lines(self, file_to_read, read_buffer, num_lines):
    
    if (file_to_read.tell() > 0):
        file_to_read.seek(0)
    position = 0
    for _ in range(num_lines):
        (_, num_bytes_to_next_record) = self._read_record(file_to_read, read_buffer)
        if (num_bytes_to_next_record < 0):
            break
        position += num_bytes_to_next_record
    return position