def ItemSize(ea):
    return idaapi.get_item_end(ea) - ea
The endpoint will fire its received message into here.
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/ItemSize--crossover with--dataset/ETHPy150Open ooici/pyon/pyon/net/test/test_endpoint.py/TestRPCResponseEndpoint.simple