Java Base64 Decode base64Decode(String str)

Here you can find the source of base64Decode(String str)

Description

base Decode

License

Open Source License

Declaration

public static byte[] base64Decode(String str) 

Method Source Code


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

import java.io.IOException;

public class Main {
    public static byte[] base64Decode(String str) {
        byte[] bt = null;
        try {//from w  ww.j  av a  2 s  .  c  o m
            sun.misc.BASE64Decoder decoder = new sun.misc.BASE64Decoder();
            bt = decoder.decodeBuffer(str);
        } catch (IOException e) {
            e.printStackTrace();
        }
        return bt;
    }
}

Related

  1. base64Decode(String s)
  2. base64Decode(String s)
  3. base64Decode(String s)
  4. base64decode(String s)
  5. base64Decode(String str)
  6. Base64Decode(String str)
  7. base64Decode(String str)
  8. base64decode(String str)
  9. base64Decode(String string)