Hi,
i am trying to convert my pdf bytes[] to
string and getting this particular byte[] back in some other class.
while i try to set my initial bytes[] to a string,i do the following
String abc = pdfbytes.tostring();
But abc contains the reference.When i try to get the bytes back from this reference using
Bytes[] def = new String(abc).getbytes();
The size of the previous btye[] and def bytes[] are equal but the data are different.
Is there some where i am going wrong.I want to convert my Byte[] to string and get back the same Byte[] from the string.
Thanks