def METHOD_NAME(self, offset, whence=io.SEEK_SET):
    if whence == io.SEEK_SET:
        self._cursor = offset
    elif whence == io.SEEK_CUR:
        self._cursor += offset
    elif whence == io.SEEK_END:
        self._cursor = self.maxaddr + offset