Here you can find the source of decodeBase64(String s)
public static byte[] decodeBase64(String s)
//package com.java2s; /*/*from www . j a va 2s . c o m*/ * Copyright (c) 2008-2015 Geode Systems LLC * This Software is licensed under the Geode Systems RAMADDA License available in the source distribution in the file * ramadda_license.txt. The above copyright notice shall be included in all copies or substantial portions of the Software. */ public class Main { /** * * Decode the given base64 String * * @param s Holds the base64 encoded bytes * @return The decoded bytes */ public static byte[] decodeBase64(String s) { return javax.xml.bind.DatatypeConverter.parseBase64Binary(s); } }