docs: @Pure
  	public static String formatHex(int amount, int digits) {
  		final StringBuffer hex = new StringBuffer(Integer.toHexString(amount));
  		while (hex.length() < digits) {
  			hex.insert(0, "0"); //$NON-NLS-1$
  		}
  		return hex.toString();
  	}