@Override
	public long length() throws IOException {
		return currentLength;
	}
Returns the access mode the file was opened with.

@return {@link AccessMode} used to open file
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/FileByteProvider.java