def seek(self, pos, whence=0):
        with self._read_lock:
            if whence == 1:
                pos -= len(self._read_buf) - self._read_pos
            pos = self.raw.seek(pos, whence)
            self._reset_read_buf()
            return pos
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/io.py/BufferedReader.seek/original