sizeof(number)

koadrobot/bits/sizeof(number)

Size of Number in Byte.
sizeof(number)
@/sizeof(number)
Size of Number in Byte.
INnumber
sizeof(number)
IN
OUT
OUTnumber
To use the node in your project you should have the koadrobot/bits library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.

C++ implementation

struct State {
};

{{ GENERATED_CODE }}

void evaluate(Context ctx) {
    emitValue<output_OUT>(ctx, sizeof(getValue<input_IN>(ctx)));
}