def METHOD_NAME(self, offset, whence=io.SEEK_SET):
    if not 0 <= whence <= 2:
        raise io.UnsupportedOperation(f'unsupported whence value {whence}')
    return self._jfile.METHOD_NAME(offset, whence)