package com.tapjoy.internal; import java.nio.charset.Charset; /* loaded from: classes4.dex */ public abstract class f3 { public static final Charset a = Charset.forName("UTF-8"); public static long a(long j) { return ((j & 255) << 56) | (((-72057594037927936L) & j) >>> 56) | ((71776119061217280L & j) >>> 40) | ((280375465082880L & j) >>> 24) | ((1095216660480L & j) >>> 8) | ((4278190080L & j) << 8) | ((16711680 & j) << 24) | ((65280 & j) << 40); } public static void a(long j, long j2, long j3) { if ((j2 | j3) < 0 || j2 > j || j - j2 < j3) { throw new ArrayIndexOutOfBoundsException("size=" + j + " offset=" + j2 + " byteCount=" + j3); } } }