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

38 lines
1.1 KiB
Java

package o;
import java.nio.charset.Charset;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.gjd, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C15183gjd {
public static final Charset e = Charset.forName("UTF-8");
public static int c(int i) {
return ((i & CipherSuite.DRAFT_TLS_DHE_RSA_WITH_AES_128_OCB) << 8) | (((-16777216) & i) >>> 24) | ((16711680 & i) >>> 8) | ((i & 255) << 24);
}
public static short c(short s) {
return (short) (((s & 65280) >>> 8) | ((s & 255) << 8));
}
public static void e(long j, long j2, long j3) {
if ((j2 | j3) < 0 || j2 > j || j - j2 < j3) {
throw new ArrayIndexOutOfBoundsException(String.format("size=%s offset=%s byteCount=%s", Long.valueOf(j), Long.valueOf(j2), Long.valueOf(j3)));
}
}
public static boolean b(byte[] bArr, byte[] bArr2, int i) {
for (int i2 = 0; i2 < i; i2++) {
if (bArr[i2] != bArr2[i2]) {
return false;
}
}
return true;
}
public static void e(Throwable th) {
throw th;
}
}