List of usage examples for android.util Base64 DEFAULT
int DEFAULT
To view the source code for android.util Base64 DEFAULT.
Click Source Link
From source file:Main.java
public static byte[] decodeBase64String(String input) { return Base64.decode(input, Base64.DEFAULT); }
From source file:Main.java
public static String encode(String str) { return Base64.encodeToString(str.getBytes(), Base64.DEFAULT); }
From source file:Main.java
public static String base64Decode(String msg) { return new String(Base64.decode(msg, Base64.DEFAULT)); }
From source file:Main.java
public static String getFromBASE64(String s) { byte[] result = Base64.decode(s, Base64.DEFAULT); return new String(result); }
From source file:Main.java
public static String base64Decode(String str) { byte[] strByte = Base64.decode(str, Base64.DEFAULT); return strByte.toString(); }
From source file:Main.java
public static String bytesToString(byte[] bytes) { return new String(Base64.decode(bytes, Base64.DEFAULT)); }
From source file:Main.java
public static String base64(String str) { return Base64.encodeToString(str.getBytes(), Base64.DEFAULT); }
From source file:Main.java
public static String base64Tostring(String data) { return new String(Base64.decode(data, Base64.DEFAULT)); }
From source file:Main.java
public static byte[] stringToBytes(String string) { return Base64.encode(string.getBytes(), Base64.DEFAULT); }
From source file:Main.java
public static byte[] getByteArrFromStringFromBase64(String str) { return Base64.decode(str, Base64.DEFAULT); }