示例#1
0
    public static int smethod_1(byte[] A_0, Class915 A_1)
    {
        int hashCode = Class968.smethod_0(A_0).GetHashCode();
        int num2     = ((A_1 == null) || !A_1.method_1()) ? 0 : A_1.GetHashCode();

        return(hashCode ^ num2);
    }
示例#2
0
    internal byte[] method_2(byte[] A_0)
    {
        Guid key = Class968.smethod_0(A_0);

        if (!this.hashtable_7.ContainsKey(key))
        {
            this.hashtable_7.Add(key, A_0);
            return(A_0);
        }
        return((byte[])this.hashtable_7[key]);
    }
示例#3
0
    private static byte[] smethod_3(Class857 A_0)
    {
        string str = A_0.method_11().method_3().Replace(BookmarkStart.b("ᴲᨴ", 13), "");

        str = string.Format(BookmarkStart.b("ᰲ临ܶ䐸", 13), str);
        Class113 class3 = A_0.method_10().method_2(str);

        if (class3 == null)
        {
            return(null);
        }
        byte[] buffer = class3.method_3().ToArray();
        Guid   key    = Class968.smethod_0(buffer);

        if (!A_0.method_28().ContainsKey(key))
        {
            A_0.method_28().Add(key, buffer);
            return(buffer);
        }
        return((byte[])A_0.method_28()[key]);
    }
示例#4
0
    private string imethod_1(byte[] A_0)
    {
        string str;
        string str2;
        int    num = 3;
        Guid   key = Class968.smethod_0(A_0);

        if (this.hashtable_0.ContainsKey(key))
        {
            return((string)this.hashtable_0[key]);
        }
        ImageFormat format = Class409.smethod_0(A_0);

        byte[] buffer = A_0;
        switch (format)
        {
        case ImageFormat.Bmp:
            str  = BookmarkStart.b("ᤨᨪ", num);
            str2 = BookmarkStart.b("䬨䘪崬", num);
            break;

        case ImageFormat.Emf:
            str    = BookmarkStart.b("ᤨᴪ", num);
            str2   = BookmarkStart.b("䰨䘪圬", num);
            buffer = Class734.smethod_29(A_0);
            break;

        case ImageFormat.Gif:
            str  = BookmarkStart.b("ᤨᨪ", num);
            str2 = BookmarkStart.b("丨䈪䬬", num);
            break;

        case ImageFormat.Jpeg:
            str  = BookmarkStart.b("ᤨᤪ", num);
            str2 = BookmarkStart.b("䌨嬪䨬", num);
            break;

        case ImageFormat.Png:
            str  = BookmarkStart.b("ᤨᠪ", num);
            str2 = BookmarkStart.b("夨䔪䨬", num);
            break;

        case ImageFormat.Wmf:
            str    = BookmarkStart.b("ᤨጪ", num);
            str2   = BookmarkStart.b("帨䘪圬", num);
            buffer = Class734.smethod_29(A_0);
            break;

        case ImageFormat.Tiff:
            str  = BookmarkStart.b("ᤨᠪ", num);
            str2 = BookmarkStart.b("崨䈪䬬", num);
            break;

        default:
            throw new InvalidOperationException(BookmarkStart.b("簨䔪弬䨮到尲刴夶倸䄺堼嬾慀⩂⡄♆⹈⹊浌㭎⡐⍒ご睖㱘㕚㹜ぞᑠൢᅤɦ᭨๪६佮ᕰٲݴṶ᝸ᱺ嵼⡾쪆얈ꮊﲒ래", num));
        }
        string str3 = this.method_11(str, str2, buffer);

        this.hashtable_0.Add(key, str3);
        return(str3);
    }