Java Base64 Decode decode(String base64)

Here you can find the source of decode(String base64)

Description

decode

License

Open Source License

Declaration

public static byte[] decode(String base64) throws Exception 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.io.IOException;

import sun.misc.BASE64Decoder;

public class Main {

    public static byte[] decode(String base64) throws Exception {
        return Base64Decode(base64);
    }//from  w ww.  jav a 2  s.  co m

    public static byte[] Base64Decode(String str) throws IOException {
        return new BASE64Decoder().decodeBuffer(str);
    }
}

Related

  1. base64decode(String strMi)
  2. base64decode(String text)
  3. base64decodebyte(String txt)
  4. base64Decoder(char[] src, int start)
  5. base64decodeString(String inputString)
  6. decode(String base64Code)
  7. decodeBase64(char[] data)
  8. decodeBASE64(InputStream in, OutputStream out)
  9. decodeBase64(InputStream is, OutputStream os)