CheetahGram v8.5.4版本的 MD5 值为:3d14e79cc242c314d3933620ff3ab030

以下内容为反编译后的 p61.java 源代码,内容仅作参考


package org.telegram.messenger.p110;

import android.os.Parcel;
import android.os.Parcelable;
import java.util.Arrays;
import org.telegram.messenger.p110.tf3;

public final class p61 implements tf3.b {
    public final String a;
    public final String b;
    public final long c;
    public final long d;
    public final byte[] e;
    private int f;
    private static final yh1 g = yh1.s(null, "application/id3", Long.MAX_VALUE);
    private static final yh1 h = yh1.s(null, "application/x-scte35", Long.MAX_VALUE);
    public static final Parcelable.Creator<p61> CREATOR = new a();

    class a implements Parcelable.Creator<p61> {
        a() {
        }

        @Override
        public p61 createFromParcel(Parcel parcel) {
            return new p61(parcel);
        }

        @Override
        public p61[] newArray(int i) {
            return new p61[i];
        }
    }

    p61(Parcel parcel) {
        this.a = (String) kn7.h(parcel.readString());
        this.b = (String) kn7.h(parcel.readString());
        this.c = parcel.readLong();
        this.d = parcel.readLong();
        this.e = (byte[]) kn7.h(parcel.createByteArray());
    }

    public p61(String str, String str2, long j, long j2, byte[] bArr) {
        this.a = str;
        this.b = str2;
        this.c = j;
        this.d = j2;
        this.e = bArr;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || p61.class != obj.getClass()) {
            return false;
        }
        p61 p61Var = (p61) obj;
        return this.c == p61Var.c && this.d == p61Var.d && kn7.c(this.a, p61Var.a) && kn7.c(this.b, p61Var.b) && Arrays.equals(this.e, p61Var.e);
    }

    @Override
    public byte[] getWrappedMetadataBytes() {
        if (getWrappedMetadataFormat() != null) {
            return this.e;
        }
        return null;
    }

    @Override
    public yh1 getWrappedMetadataFormat() {
        String str = this.a;
        str.hashCode();
        char c = 65535;
        switch (str.hashCode()) {
            case -1468477611:
                if (str.equals("urn:scte:scte35:2014:bin")) {
                    c = 0;
                    break;
                }
                break;
            case -795945609:
                if (str.equals("https://aomedia.org/emsg/ID3")) {
                    c = 1;
                    break;
                }
                break;
            case 1303648457:
                if (str.equals("https://developer.apple.com/streaming/emsg-id3")) {
                    c = 2;
                    break;
                }
                break;
        }
        switch (c) {
            case 0:
                return h;
            case 1:
            case 2:
                return g;
            default:
                return null;
        }
    }

    public int hashCode() {
        if (this.f == 0) {
            String str = this.a;
            int hashCode = (527 + (str != null ? str.hashCode() : 0)) * 31;
            String str2 = this.b;
            int hashCode2 = str2 != null ? str2.hashCode() : 0;
            long j = this.c;
            int i = (((hashCode + hashCode2) * 31) + ((int) (j ^ (j >>> 32)))) * 31;
            long j2 = this.d;
            this.f = ((i + ((int) (j2 ^ (j2 >>> 32)))) * 31) + Arrays.hashCode(this.e);
        }
        return this.f;
    }

    public String toString() {
        return "EMSG: scheme=" + this.a + ", id=" + this.d + ", durationMs=" + this.c + ", value=" + this.b;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(this.a);
        parcel.writeString(this.b);
        parcel.writeLong(this.c);
        parcel.writeLong(this.d);
        parcel.writeByteArray(this.e);
    }
}