泽轩软件库 v1.5版本的 MD5 值为:0da041bac66861a276126ea96828003c
以下内容为反编译后的 kR.java 源代码,内容仅作参考
package ghost;
import android.util.Base64;
import arm.oa;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
public class kR implements oa.a<InputStream> {
public kR(kS kSVar) {
}
public Object a(String str) {
if (str.startsWith("data:image")) {
int indexOf = str.indexOf(44);
if (indexOf != -1) {
if (str.substring(0, indexOf).endsWith(";base64")) {
return new ByteArrayInputStream(Base64.decode(str.substring(indexOf + 1), 0));
}
throw new IllegalArgumentException("Not a base64 image data URL.");
}
throw new IllegalArgumentException("Missing comma in data URL.");
}
throw new IllegalArgumentException("Not a valid image data URL.");
}
}