Java Base64 Decode Base64Decode(byte[] base64Data)

Here you can find the source of Base64Decode(byte[] base64Data)

Description

Base Decode

License

Apache License

Declaration

public static byte[] Base64Decode(byte[] base64Data) throws Exception 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.util.Base64;

public class Main {

    public static byte[] Base64Decode(byte[] base64Data) throws Exception {
        return Base64.getDecoder().decode(base64Data);
    }/*from w ww. j a  va  2  s. co m*/

    public static byte[] Base64Decode(String base64String) throws Exception {
        return Base64.getDecoder().decode(base64String);
    }
}

Related

  1. base64CodeDecode(String fileData)
  2. base64Decode(byte[] data)
  3. base64Decode(byte[] textBytes)
  4. base64Decode(char[] a_data)
  5. base64Decode(final String data)