38 lines
746 B
Java
38 lines
746 B
Java
package com.tencent.open.utils;
|
|
|
|
/* compiled from: ProGuard */
|
|
/* loaded from: classes.dex */
|
|
public final class k implements Cloneable {
|
|
private int a;
|
|
|
|
public k(byte[] bArr) {
|
|
this(bArr, 0);
|
|
}
|
|
|
|
public byte[] a() {
|
|
int i = this.a;
|
|
return new byte[]{(byte) (i & 255), (byte) ((i & 65280) >> 8)};
|
|
}
|
|
|
|
public int b() {
|
|
return this.a;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
return obj != null && (obj instanceof k) && this.a == ((k) obj).b();
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.a;
|
|
}
|
|
|
|
public k(byte[] bArr, int i) {
|
|
this.a = (bArr[i + 1] << 8) & 65280;
|
|
this.a += bArr[i] & 255;
|
|
}
|
|
|
|
public k(int i) {
|
|
this.a = i;
|
|
}
|
|
}
|