org.solovyev.android.security.base64.ABase64StringDecoder Maven / Gradle / Ivy
package org.solovyev.android.security.base64;
import android.util.Base64;
import org.solovyev.common.Converter;
import javax.annotation.Nonnull;
public class ABase64StringDecoder implements Converter {
@Nonnull
private static Converter instance = new ABase64StringDecoder();
private ABase64StringDecoder() {
}
@Nonnull
public static Converter getInstance() {
return instance;
}
@Nonnull
@Override
public byte[] convert(@Nonnull String s) {
return Base64.decode(s, Base64.DEFAULT);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy