Thanks!
I found an explanation online and wrote a function to convert numbers into binary.
So to convert a text I used gmatch:
for letter in string.gmatch("Hello", ".") do
local byte = letter:byte(1, 1)
if got then
got ..= convert(byte) .. " "
else
got = convert(byte)
end
end
print(got) --> 10010001100101 1101100 1101100 1101111
But what it outputs for “Hello” is apparently wrong.