I\'m trying to write data to a file in binary format for compression. The data consists entirely of floating points so I decided to quantize the data to an intergers between
Maybe this fragment will help.
int i = 42; DataOutputStream os = new DataOutputStream(new FileOutputStream("C:\\binout.dat")); os.writeInt(i); os.close();