List of usage examples for android.util Base64 encodeToString
public static String encodeToString(byte[] input, int flags)
From source file:Main.java
public static String encode(String encodeStr) { return Base64.encodeToString(encodeStr.getBytes(), Base64.DEFAULT); }
From source file:Main.java
public static String enToStr(String str) { String enStr = Base64.encodeToString(str.getBytes(), Base64.DEFAULT); return enStr; }
From source file:Main.java
public static String stringToBase64(String data) { return Base64.encodeToString(data.getBytes(), Base64.DEFAULT); }
From source file:Main.java
public static String getBase64(final String input) { return Base64.encodeToString(input.getBytes(), Base64.NO_WRAP); }
From source file:Main.java
public static String base64Encode2String(byte[] input) { return Base64.encodeToString(input, Base64.NO_WRAP); }
From source file:Main.java
public static String convertBytesToString(byte[] p_byte) { return Base64.encodeToString(p_byte, Base64.DEFAULT); }
From source file:Main.java
public static String getFromBase64(String str) { String enToStr = Base64.encodeToString(str.getBytes(), Base64.DEFAULT); return enToStr; }
From source file:Main.java
public static String encode(byte[] bytes) throws Exception { return Base64.encodeToString(bytes, Base64.DEFAULT); }
From source file:Main.java
public static String encode(byte[] paramArrayOfByte) throws Exception { return Base64.encodeToString(paramArrayOfByte, 0); }
From source file:Main.java
public static String bytesToEncodedString(byte[] bytes) { return Base64.encodeToString(bytes, Base64.NO_WRAP); }