Binary File. Extract float data from binary file and put into array
I have a binary file that contains floating point numbers and is in little endian (this last part I don't think is very important). I would like to read the numbers from this file and and put them into an array.
I have done some research and I cannot figure out how to do this. I know that there are InputStream, FileInputStream, DataInputStream, and BinaryInputStream classes that have the methods that will get this done, but I have not been successful at anything. I know that FileInputStream takes a file as its constructor and that DataInputStream has readFloat().
Does anyone know of code on the Internet that already does this? Or can anyone help me out with advice, guidance, code, etc.?
Re: Binary File. Extract float data from binary file and put into array