0

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...

1 Answer 1

1

Use a DataInputStream's readFloat method. Loop until you get an EOFException.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you. I also had to change the Endianness. This link was usefull: [link] (stackoverflow.com/questions/3438415/…)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.