Android Base64 Encode to64(String a)

Here you can find the source of to64(String a)

Description

to

Declaration

public static String to64(String a) 

Method Source Code

//package com.java2s;

import android.util.Base64;

public class Main {
    public static String to64(String a) {
        return Base64.encodeToString(a.getBytes(), Base64.DEFAULT);
    }//from www. jav a 2s  .com
}

Related

  1. toBase64(byte[] bytes)
  2. base64Encode(byte[] bytes)
  3. base64Digest(String input)
  4. base64Encode(final byte[] data)
  5. encode(byte[] src)
  6. toBase64(byte[] barray)
  7. encodeBase64(byte abyte0[])
  8. encodeBase64(String input)
  9. encryptToBase64Text(String key, String src)