Java XML Base64 Encode Decode readBase64Bytes(String str)

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

Description

read Base Bytes

License

Open Source License

Declaration

public static byte[] readBase64Bytes(String str) 

Method Source Code


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

import javax.xml.bind.DatatypeConverter;

public class Main {
    public static byte[] readBase64Bytes(String str) {
        return DatatypeConverter.parseBase64Binary(str);
    }//from  w  w w  .j a  v  a  2  s  .  co m
}

Related

  1. encodeBase64Binary(byte[] data)
  2. fromBase64(String base64)
  3. fromBase64(String hex)
  4. getBase64(byte[] bytes)
  5. getHashBase64(String origStr, String digestAlgorithm)
  6. readFileToBase64(String filePath)
  7. sha256SaltBase64(String password, String salt)
  8. toB64(byte[] bytes)
  9. toBase10(String base64)