Lua String to Binary

local benky = "B"
print('Output: ', string.byte(benky))
-- Output : 66
Benky Lion