Convert 4 1-byte Numbers into a single unsigned 32bit Number.
A single byte (0-255).
A single unsigned 32bit Number.
// Set result1 to 0x11223344 from an array of 4 valuesconst result1 = pc.math.bytesToInt32([0x11, 0x22, 0x33, 0x44]);// Set result2 to 0x11223344 from 4 discrete valuesconst result2 = pc.math.bytesToInt32(0x11, 0x22, 0x33, 0x44); Copy
// Set result1 to 0x11223344 from an array of 4 valuesconst result1 = pc.math.bytesToInt32([0x11, 0x22, 0x33, 0x44]);// Set result2 to 0x11223344 from 4 discrete valuesconst result2 = pc.math.bytesToInt32(0x11, 0x22, 0x33, 0x44);
Convert 4 1-byte Numbers into a single unsigned 32bit Number.