when I have binary code like '01010100011001010111001101110100", how can I convert this back to "test"?
Thanks.
when I have binary code like '01010100011001010111001101110100", how can I convert this back to "test"?
Thanks.
There is many ways to get this. It depends on the language. In general, you would break down the binary string in chunks of 8 bits (byte). Then you would calculate the decimal value of each byte. Link below goes over how to do that. Once you have the decimal value, you have each letter. From here, it depends on the language. In C you could make a char array of each and make a c-string.
http://www.wikihow.com/Convert-from-Binary-to-Decimal
You could also do a look up table.