How do I convert user data like this:
local user_data = { 0x33, 0x22, 0x11, 0x00 }
to either a uint32 or float using Lua? I cant find anything in the documentation that talks about this.
I've tried various methods and none of these have worked:
local data_uint32 = tonumber(user_data)
local data_uint32 = user_data:uint32()
local data_uint32 = uint32(user_data)