Android Base64 Decode base64Decode(final String text)

Here you can find the source of base64Decode(final String text)

Description

base Decode

Declaration

static byte[] base64Decode(final String text) 

Method Source Code

//package com.java2s;

import org.apache.commons.codec.binary.Base64;

public class Main {
    static byte[] base64Decode(final String text) {
        byte[] res = null;
        try {/* w  w w . j  a  va  2  s .co  m*/
            res = Base64.decodeBase64(text.getBytes());
        } catch (Exception e) {
            e.printStackTrace();
        }
        return res;
    }
}

Related

  1. toString(String base64Encoded)
  2. toBytes(String base64Encoded)
  3. base64Decode(String property)
  4. decode(String src)
  5. base16decode(String base16Str)
  6. base64ToText(String stringInput)
  7. from64(String a)
  8. fromBase64(String encoded)
  9. decryptBase64Text(String key, String src)