06.09.2018, 07:47
Code:
number = tonumber(input, 16)
hex = string.format('%X', number)
Convert hex string to raw binary, make sure second argument is true otherwise zero bytes will be ignored:
Code:
str = lmcore.hextostr('7FF2FAB843FA000000FFFE065D', true)