fluid-api/src/main/java/com/fluidbpm/program/api/util/UtilGlobal.java
public static String encodeBase64(byte[] bytesParam)
	{
		if(bytesParam == null)
		{
			return null;
		}

		if(bytesParam.length == 0)
		{
			return UtilGlobal.EMPTY;
		}

		return Base64.getEncoder().encodeToString(bytesParam);
	}
public static String encodeBase64(byte[] bytesParam)
	{
		if(bytesParam == null)
		{
			return null;
		}

		if(bytesParam.length == 0)
		{
			return UtilGlobal.EMPTY;
		}

		return Base64.getEncoder().encodeToString(bytesParam);
	}
public static String encodeBase64 ( byte [ ] bytesParam ) { if ( bytesParam == null ) { return null ; } if ( bytesParam . length == 0 ) { return UtilGlobal . EMPTY ; } return Base64 . getEncoder ( ) . encodeToString ( bytesParam ) ; }
Encodes the {@code bytesParam} as {@code java.lang.String}.

@param bytesParam bytes to convert to Base64.
@return Base64 String.
Encodes the { @code bytesParam } as { @code java . lang . String } .