Convert 3 8 bit Numbers into a single unsigned 24 bit Number.
A single byte (0-255).
A single unsigned 24 bit Number.
// Set result1 to 0x112233 from an array of 3 valuesconst result1 = pc.math.bytesToInt24([0x11, 0x22, 0x33]);// Set result2 to 0x112233 from 3 discrete valuesconst result2 = pc.math.bytesToInt24(0x11, 0x22, 0x33); Copy
// Set result1 to 0x112233 from an array of 3 valuesconst result1 = pc.math.bytesToInt24([0x11, 0x22, 0x33]);// Set result2 to 0x112233 from 3 discrete valuesconst result2 = pc.math.bytesToInt24(0x11, 0x22, 0x33);
Convert 3 8 bit Numbers into a single unsigned 24 bit Number.