public static String decodeToString ( InputStream in , String enc ) throws IOException { return new String ( decodeToBytes ( in ) , enc ) ; }
Decode Base64 encoded data from the InputStream to a String . Characters that are not part of the Base64 alphabet are ignored in the input .