nazarijtipusak080/shift-4-bytes
node { void evaluate(Context ctx) { uint8_t val = getValue<input_IN>(ctx); uint8_t in0 = getValue<input_n>(ctx); uint8_t in1 = (ctx, pow( 2, in0)); emitValue<output_nbit>(ctx, in1 & val); } }
© 2017–2024XOD Inc
Contact us: hello@xod.io