public final static String toHexString(long value, int size) {
		if (size > 0 && size < 8) {
			value &= -1L >>> (8 * (8 - size));
		}
		return HEX_PREFIX_x + Long.toHexString(value);
	}
returns the value of the specified long as hexadecimal, prefixing with the 
{@link #HEX_PREFIX_x} string.

@param value the long value to convert
@param size number of bytes to be represented
@return the string
Ghidra/Framework/Generic/src/main/java/ghidra/util/NumericUtilities.java