Java tutorial
//package com.java2s; //License from project: LGPL public class Main { protected static byte[] decodeBase64(String value) { byte[] result = null; byte[] binaryData = value.getBytes(); result = org.apache.commons.codec.binary.Base64.decodeBase64(binaryData); // return value.decodeBase64(); return result; } }