D'oh, .decodeToString was already there, eliminated my vers
This commit is contained in:
@ -59,10 +59,6 @@ public class Base64 {
|
||||
return safeEncode(source, off, len, useStandardAlphabet);
|
||||
}
|
||||
|
||||
/** convenience method added by aum */
|
||||
public static String decodeToString(String s) {
|
||||
return new String(decode(s));
|
||||
}
|
||||
public static byte[] decode(String s) {
|
||||
return safeDecode(s, false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user