what-the-bank/sources/o/C15324gnU.java

42 lines
1.3 KiB
Java

package o;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import org.spongycastle.asn1.ASN1ParsingException;
/* renamed from: o.gnU, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C15324gnU implements InterfaceC15313gnA {
private gnK b;
/* JADX INFO: Access modifiers changed from: package-private */
public C15324gnU(gnK gnk) {
this.b = gnk;
}
@Override // o.InterfaceC15313gnA
public final InputStream e() {
return new C15370goj(this.b);
}
@Override // o.goR
public final AbstractC15315gnE a() throws IOException {
C15370goj c15370goj = new C15370goj(this.b);
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
grU.c(c15370goj, byteArrayOutputStream);
return new gnV(byteArrayOutputStream.toByteArray());
}
@Override // o.InterfaceC15342gnr
public final AbstractC15315gnE i() {
try {
return a();
} catch (IOException e) {
StringBuilder sb = new StringBuilder("IOException converting stream to byte array: ");
sb.append(e.getMessage());
throw new ASN1ParsingException(sb.toString(), e);
}
}
}