Greetings,
Now that i've solver my problem writting a string made of 0 and 1 to a byte. I need to do the reverse process.
I use:
Integer.toBinar yString((int)re adedBytes.get(i ))
It returns some odd data like:
111111111111111 111111111110110 11
It should be returning 8 character ? maybe I am wrong..
Anyway, is there any known way to convert a Byte into a string containing a bunch 0 and 1.
Thanks again!
Now that i've solver my problem writting a string made of 0 and 1 to a byte. I need to do the reverse process.
I use:
Integer.toBinar yString((int)re adedBytes.get(i ))
It returns some odd data like:
111111111111111 111111111110110 11
It should be returning 8 character ? maybe I am wrong..
Anyway, is there any known way to convert a Byte into a string containing a bunch 0 and 1.
Thanks again!
Comment