def METHOD_NAME(cls, data_uri: str, task: Tuple[int, Tuple[int, int]]) -> List[int]:
    _, (start, end) = task
    offsets = [start]
    with open_buffered_file_reader(data_uri) as infile:
        infile.seek(start, os.SEEK_SET)
        while infile.tell() < end:
            infile.readline()
            offsets.append(infile.tell())
        assert offsets.pop() == end
    return offsets