Here you can find the source of Base64Decode(byte[] base64Data)
public static byte[] Base64Decode(byte[] base64Data) throws Exception
//package com.java2s; //License from project: Apache License import java.util.Base64; public class Main { public static byte[] Base64Decode(byte[] base64Data) throws Exception { return Base64.getDecoder().decode(base64Data); }/*from w ww. j a va 2 s. co m*/ public static byte[] Base64Decode(String base64String) throws Exception { return Base64.getDecoder().decode(base64String); } }