65 lines
1.9 KiB
Java
65 lines
1.9 KiB
Java
|
package o;
|
||
|
|
||
|
import java.io.IOException;
|
||
|
|
||
|
/* renamed from: o.gnl, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes6.dex */
|
||
|
public abstract class AbstractC15336gnl extends AbstractC15315gnE {
|
||
|
protected final byte[] a;
|
||
|
protected final boolean c;
|
||
|
protected final int d;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public AbstractC15336gnl(boolean z, int i, byte[] bArr) {
|
||
|
this.c = z;
|
||
|
this.d = i;
|
||
|
this.a = bArr;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@Override // o.AbstractC15315gnE
|
||
|
public final int c() throws IOException {
|
||
|
return goV.a(this.d) + goV.d(this.a.length) + this.a.length;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@Override // o.AbstractC15315gnE
|
||
|
protected final boolean e(AbstractC15315gnE abstractC15315gnE) {
|
||
|
if (!(abstractC15315gnE instanceof AbstractC15336gnl)) {
|
||
|
return false;
|
||
|
}
|
||
|
AbstractC15336gnl abstractC15336gnl = (AbstractC15336gnl) abstractC15315gnE;
|
||
|
return this.c == abstractC15336gnl.c && this.d == abstractC15336gnl.d && grK.b(this.a, abstractC15336gnl.a);
|
||
|
}
|
||
|
|
||
|
@Override // o.AbstractC15346gnv
|
||
|
public int hashCode() {
|
||
|
boolean z = this.c;
|
||
|
return ((z ? 1 : 0) ^ this.d) ^ grK.c(this.a);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@Override // o.AbstractC15315gnE
|
||
|
public void c(gnG gng) throws IOException {
|
||
|
int i = this.c ? 96 : 64;
|
||
|
int i2 = this.d;
|
||
|
byte[] bArr = this.a;
|
||
|
gng.b(i, i2);
|
||
|
gng.d(bArr.length);
|
||
|
gng.a.write(bArr);
|
||
|
}
|
||
|
|
||
|
@Override // o.AbstractC15315gnE
|
||
|
public final boolean d() {
|
||
|
return this.c;
|
||
|
}
|
||
|
|
||
|
public final byte[] e() {
|
||
|
return this.a;
|
||
|
}
|
||
|
|
||
|
public final int b() {
|
||
|
return this.d;
|
||
|
}
|
||
|
}
|