Here you can find the source of base64decodebyte(String txt)
public static byte[] base64decodebyte(String txt)
//package com.java2s; /**/* w w w . java 2s.com*/ * Converts a line of text into an array of lower case words using a * BreakIterator.wordInstance(). <p> * * This method is under the Jive Open Source Software License and was * written by Mark Imbriaco. * * @param text a String of text to convert into an array of words * @return text broken up into an array of words. */ import java.io.IOException; public class Main { public static byte[] base64decodebyte(String txt) { byte[] buf = null; if (txt != null && txt.length() > 0) { try { buf = new sun.misc.BASE64Decoder().decodeBuffer(txt); } catch (IOException ex) { } } return buf; } }