How do I flush a 'RandomAccessFile' (java)?

前端 未结 6 1653
孤街浪徒
孤街浪徒 2021-02-14 21:44

I\'m using RandomAccessFile in java:

file = new RandomAccessFile(filename, \"rw\");
...
file.writeBytes(...);

How can I ensure that this data i

6条回答
提交回复
热议问题