to-byte(number)

koadrobot/casts/to-byte(number)

No description
to-byte(number)
@/to-byte(number)
INnumber
to-byte(number)
IN
OUT
OUTbyte
To use the node in your project you should have the koadrobot/casts 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

#pragma XOD dirtieness disable

struct State {
};

{{ GENERATED_CODE }}

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