Here you can find the source of base64Decode(byte[] textBytes)
public static byte[] base64Decode(byte[] textBytes)
//package com.java2s; //License from project: Open Source License import java.util.Base64; public class Main { public static byte[] base64Decode(byte[] textBytes) { // return fileBytes; System.out.println("decoding fileBytes"); byte[] bytes = Base64.getDecoder().decode(textBytes); return bytes; }/*from ww w .j a v a2 s .co m*/ }