I have some binary files which are written by a Java application in the following way:
DataOutputStream dos = new DataOutputStream(new BufferedOutputStream(new FileOutputStream(complete_path_to_file)));
dos.writeInt(aInteger);
dos.writeLong(aLong);
dos.writeFloat(aFloat);
dos.close();
Now, I'd like to read this kind files in a Scala framework but I really don't have any ideas about how to do that.
Could you help me?