I have a binary file I wish to read for my android app. the file's content was saved and written in "float" format.
How do I read this data to a float array?
Thanks...
I have a binary file I wish to read for my android app. the file's content was saved and written in "float" format.
How do I read this data to a float array?
Thanks...
Use a DataInputStream's readFloat method. Loop until you get an EOFException.