Code example for RandomAccessFile

Methods: getFilePointer, length

0
 
	public int read(byte[] array) throws IOException { return base.read(array); }
 
	public int skip(int n) throws IOException { return base.skipBytes(n);}
 
	public long available() throws IOException { return base.length() - base.getFilePointer(); }
	 
	public long pos() throws IOException { return base.getFilePointer(); }
	 
	public long length() throws IOException { return base.length(); }
}