I am facing a strange sort of issue.
I have some binary data (consisting of a set of floating point numbers), which i am encoding using Base64.encode to convert to a Character.
I put the data in some temporary storage(DB), and getting it back for processing.
When i get the string back, i decode it back using Base64.decode, and get a byteArray.
In order to read the float data, i am using
The data that i am getting using the above code, and the data which i get using directly reading from the file, is totally different.
The data in myfloat and myfloat2 list is entirely different.
Am i doing something really stupid here ?
P.S. I haven't touched Java for last 6 years, so kind of rusty at the moment! I will get there slowly but surely