def calculate_size(name, function):
    data_size = 0
    data_size += calculate_size_str(name)
    data_size += calculate_size_data(function)
    return data_size
Calculates the request payload size
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/protocol/codec/atomic_long_alter_codec.py/calculate_size