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

28 lines
611 B
Java

package o;
/* loaded from: classes.dex */
public final class Iaa implements MWf {
@Override // o.MWf
public final int b() {
return 12;
}
@Override // o.MWf
public final XRL c(byte[] bArr) {
if (!new String(bArr, 0, 4).equals("RIFF")) {
return XRL.Unknown;
}
String str = new String(bArr, 8, 4);
if (str.equals("WAVE")) {
return XRL.Wav;
}
if (str.equals("AVI ")) {
return XRL.Avi;
}
if (str.equals("WEBP")) {
return XRL.WebP;
}
return XRL.Riff;
}
}