Reputation: 2974
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...
Upvotes: 0
Views: 1427
Reputation: 38168
Use a DataInputStream's readFloat method. Loop until you get an EOFException.
Upvotes: 1