public class BASE64Util extends Object
Constructor and Description |
---|
BASE64Util() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
altBase64ToByteArray(String s)
Translates the specified "alternate representation" Base64 string into a
byte array.
|
static byte[] |
base64ToByteArray(String s)
Translates the specified Base64 string (as per Preferences.get(byte[]))
into a byte array.
|
static String |
byteArrayToAltBase64(byte[] a)
Translates the specified byte array into an "alternate representation"
Base64 string.
|
static String |
byteArrayToBase64(byte[] a)
Translates the specified byte array into a Base64 string as per
Preferences.put(byte[]).
|
public static String byteArrayToBase64(byte[] a)
public static String byteArrayToAltBase64(byte[] a)
public static byte[] base64ToByteArray(String s)
public static byte[] altBase64ToByteArray(String s)
Copyright © 2018. All rights reserved.