public String toHexString(long l, boolean zeropad, boolean header) {
		String s = Long.toHexString(l);
		if (zeropad) {
			s = zeropad(s, 16);
		}
		return (header ? "0x" : "") + s;
	}
Returns a hex string representation of the long.

@param l        the long
@param zeropad  true if the value should be zero padded
@param header   true if "0x" should be prepended
@return the hex formatted string
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java