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

117 lines
3.1 KiB
Java

package o;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.nio.ByteBuffer;
import o.InterfaceC12232euN;
import o.SCe;
/* loaded from: classes.dex */
public final class GaF<Data> implements SCe<byte[], Data> {
private final LWm<Data> e;
/* loaded from: classes.dex */
public interface LWm<Data> {
Class<Data> c();
Data c(byte[] bArr);
}
@Override // o.SCe
public final /* bridge */ /* synthetic */ boolean d(byte[] bArr) {
return true;
}
@Override // o.SCe
public final /* synthetic */ SCe.IeS e(byte[] bArr, int i, int i2, unA una) {
byte[] bArr2 = bArr;
return new SCe.IeS(new xBn(bArr2), new IeS(bArr2, this.e));
}
public GaF(LWm<Data> lWm) {
this.e = lWm;
}
/* loaded from: classes.dex */
static class IeS<Data> implements InterfaceC12232euN<Data> {
private final byte[] a;
private final LWm<Data> b;
@Override // o.InterfaceC12232euN
public final void a() {
}
@Override // o.InterfaceC12232euN
public final void e() {
}
IeS(byte[] bArr, LWm<Data> lWm) {
this.a = bArr;
this.b = lWm;
}
@Override // o.InterfaceC12232euN
public final void c(EnumC3495ayd enumC3495ayd, InterfaceC12232euN.IeS<? super Data> ieS) {
ieS.a((InterfaceC12232euN.IeS<? super Data>) this.b.c(this.a));
}
@Override // o.InterfaceC12232euN
public final Class<Data> c() {
return this.b.c();
}
@Override // o.InterfaceC12232euN
public final pNW d() {
return pNW.LOCAL;
}
}
/* loaded from: classes.dex */
public static class HBt implements rIx<byte[], ByteBuffer> {
@Override // o.rIx
public final SCe<byte[], ByteBuffer> c(Vzp vzp) {
return new GaF(new LWm<ByteBuffer>(this) { // from class: o.GaF.HBt.1
private HBt d;
{
this.d = this;
}
@Override // o.GaF.LWm
public final Class<ByteBuffer> c() {
return ByteBuffer.class;
}
@Override // o.GaF.LWm
public final /* synthetic */ ByteBuffer c(byte[] bArr) {
return ByteBuffer.wrap(bArr);
}
});
}
}
/* loaded from: classes.dex */
public static class Sts implements rIx<byte[], InputStream> {
@Override // o.rIx
public final SCe<byte[], InputStream> c(Vzp vzp) {
return new GaF(new LWm<InputStream>(this) { // from class: o.GaF.Sts.3
private Sts d;
{
this.d = this;
}
@Override // o.GaF.LWm
public final Class<InputStream> c() {
return InputStream.class;
}
@Override // o.GaF.LWm
public final /* synthetic */ InputStream c(byte[] bArr) {
return new ByteArrayInputStream(bArr);
}
});
}
}
}