Here you can find the source of decodeBASE64(String pEncoded)
public static byte[] decodeBASE64(String pEncoded)
//package com.java2s; //License from project: Open Source License import sun.misc.BASE64Decoder; import java.io.IOException; public class Main { public static byte[] decodeBASE64(String pEncoded) { BASE64Decoder b64 = new BASE64Decoder(); try {/*from w w w . j a v a 2s. com*/ return b64.decodeBuffer(pEncoded); } catch (IOException e) { return null; } } }