I\'m using RandomAccessFile in java:
file = new RandomAccessFile(filename, \"rw\"); ... file.writeBytes(...);
How can I ensure that this data i
You can use getFD().sync() method.
getFD().sync()