So basically I just wana flip the bytes of some numbers
I have a number 0x536E6144 and I wondered if theres any efficent way of making it 0x44616E53
Thank you
1 Like
You can use bit32.byteswap(n: number)
https://create.roblox.com/docs/reference/engine/libraries/bit32#byteswap
1 Like