I\'m using RandomAccessFile in java:
file = new RandomAccessFile(filename, \"rw\"); ... file.writeBytes(...);
How can I ensure that this data i
The only classes that provide a .flush() method are those that actually maintain their own buffers. As java.io.RandomAccessFile does not itself maintain a buffer, it does not need to be flushed.
.flush()
java.io.RandomAccessFile