Here you can find the source of decode(String base64Code)
public static byte[] decode(String base64Code)
//package com.java2s; import java.io.IOException; public class Main { public static byte[] decode(String base64Code) { if (base64Code == null) { return null; }// w w w. j ava 2 s . com try { return new sun.misc.BASE64Decoder().decodeBuffer(base64Code); } catch (IOException exception) { return null; } } }