Convert an 24 bit integer into an array of 3 bytes.
Number holding an integer value.
An array of 3 bytes.
// Set bytes to [0x11, 0x22, 0x33]const bytes = pc.math.intToBytes24(0x112233); Copy
// Set bytes to [0x11, 0x22, 0x33]const bytes = pc.math.intToBytes24(0x112233);
Convert an 24 bit integer into an array of 3 bytes.