def read_to_offset(self, offset):
    assert offset >= self._offset
    result = self._buffer[self._offset: offset]
    self._offset += len(result)
    return result
Tests a bug that Jeff Johnson reported on Oct 1, 2001
dataset/ETHPy150Open GoogleCloudPlatform/billing-export-python/cloudstorage/storage_api.py/_Buffer.read_to_offset--crossover with--dataset/ETHPy150Open skyostil/tracy/src/generator/Cheetah/Tests/NameMapper.py/DummyClass.meth3