package ii;

import java.util.Arrays;

/* loaded from: classes.dex */
public final class h {

    /* renamed from: a, reason: collision with root package name */
    private final gi.c f23294a;

    /* renamed from: b, reason: collision with root package name */
    private final byte[] f23295b;

    public h(gi.c cVar, byte[] bArr) {
        if (cVar == null) {
            throw new NullPointerException("encoding is null");
        }
        if (bArr == null) {
            throw new NullPointerException("bytes is null");
        }
        this.f23294a = cVar;
        this.f23295b = bArr;
    }

    public byte[] a() {
        return this.f23295b;
    }

    public gi.c b() {
        return this.f23294a;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof h)) {
            return false;
        }
        h hVar = (h) obj;
        if (this.f23294a.equals(hVar.f23294a)) {
            return Arrays.equals(this.f23295b, hVar.f23295b);
        }
        return false;
    }

    public int hashCode() {
        return Arrays.hashCode(this.f23295b) ^ ((this.f23294a.hashCode() ^ 1000003) * 1000003);
    }

    public String toString() {
        return "EncodedPayload{encoding=" + this.f23294a + ", bytes=[...]}";
    }
}
