def cursor_to_offset(cursor):
    try:
        return int(unbase64(cursor)[len(PREFIX):len(PREFIX) + 10])
    except:
        return None
Init context menu action
dataset/ETHPy150Open graphql-python/graphql-relay-py/graphql_relay/connection/arrayconnection.py/cursor_to_offset--crossover with--dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/pyqode/core/api/code_edit.py/CodeEdit._init_actions