331 posts
Posted 12 September 2013 - 06:06 PM
how would I turn normal text into binary
7508 posts
Location
Australia
Posted 12 September 2013 - 06:39 PM
Well you can get bytes from text, you'll need to convert from bytes to the binary (unless of course all you wanted was the bytes).
You can use the string.byte function. This function also allows us to get all the bytes by doing the following
local str = "someString"
local tBytes = { string.byte(str, 1, #str) }