05.08.2020, 10:22
(This post was last modified: 05.08.2020, 10:24 by Erwin van der Zwart.)
Hi,
And if you ever need to do a split with a 8 byte value into 2x 4 bytes you can do it like this:
BR,
Erwin
And if you ever need to do a split with a 8 byte value into 2x 4 bytes you can do it like this:
Code:
value = 0xffffffff
high32 = bit.rshift(bit.band(value,0xffff0000),16)
low32 = bit.band(value,0x0000ffff)
Erwin