Saturday, 16 March 2013

Good Old java.io.RandomAccessFile

An old friend from JDK 1.0 days. The overloaded write operation will write byte arrays, ints etc. to the file from the position of the current file pointer. The length() method returns the length of the file in bytes.

No comments: