Hi all,
I am new to
Java although not new to programming
I do not know how to convert an ASCII(some
string value) to binary using some existing useful methods.
So here is an eg.
With Arrays.toString, I get the decimal values of the ASCII but in an array of "[....]" format.
And I had no success converting it into binary using the Integer.toBinaryString I know something is wrong with the data type conversion but dunno what.
Well, my actual problem is this. I have a byte array and I want to see the actual bits in this array.
If I do
I only see the bytes of the OBJECT and not the bytes of the value stored in the byte object.. Am I making sense??
Please help.