Java XML Base64 Encode Decode decodeBase64(String value)

Here you can find the source of decodeBase64(String value)

Description

decode Base

License

Apache License

Declaration

public static byte[] decodeBase64(String value) 

Method Source Code


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

import javax.xml.bind.DatatypeConverter;

public class Main {

    public static byte[] decodeBase64(String value) {
        return DatatypeConverter.parseBase64Binary(value);
    }/*from   w w w  . j  a v a2 s. c o m*/
}

Related

  1. decode(String base64)
  2. decodeBase64(File file)
  3. decodeBase64(String b64data)
  4. decodeBase64(String base64)
  5. decodeBase64(String s)
  6. decompressFromBase64(String message)
  7. encodeBase64(byte[] b)
  8. encodeBase64(byte[] bytes)
  9. encodeBASE64(byte[] data)