Here you can find the source of decode3(String str)
public static byte[] decode3(String str)
//package com.java2s; //License from project: Apache License import java.io.IOException; public class Main { public static byte[] decode3(String str) { byte[] bt = null; try {//from ww w . j a v a 2 s . com sun.misc.BASE64Decoder decoder = new sun.misc.BASE64Decoder(); bt = decoder.decodeBuffer(str); } catch (IOException e) { e.printStackTrace(); } return bt; } }