Signal-Android/src/org/thoughtcrime/securesms/util/Base64.java
2019-11-09 07:01:07 -05:00

19 lines
439 B
Java

package org.thoughtcrime.securesms.util;
import androidx.annotation.NonNull;
import java.io.IOException;
public final class Base64 {
private Base64() {
}
public static @NonNull byte[] decode(@NonNull String s) throws IOException {
return org.whispersystems.util.Base64.decode(s);
}
public static @NonNull String encodeBytes(@NonNull byte[] source) {
return org.whispersystems.util.Base64.encodeBytes(source);
}
}