private static void smethod_6(Class827 A_0, int A_1, int A_2, BinaryWriter A_3, BinaryWriter A_4)
 {
     A_3.Write((int)A_4.BaseStream.Position);
     A_3.Write((short)A_1);
     A_3.Write((short)A_0.method_2());
     A_3.Write(A_0.method_3() ? ((uint)A_2) : uint.MaxValue);
     A_4.Write(A_0.method_0());
 }
Exemple #2
0
 internal byte[] method_54(EmbeddedFontFormat A_0, EmbeddedFontStyle A_1)
 {
     if (this.class815_0 != null)
     {
         Class827 class2 = this.class815_0.method_4(A_0, A_1);
         if (class2 != null)
         {
             return(class2.method_0());
         }
     }
     return(null);
 }
 internal Class827[] method_3()
 {
     Class827[] destinationArray = new Class827[8];
     Class827[] sourceArray      = this.class827_0[0];
     Class827[] classArray3      = this.class827_0[1];
     if (sourceArray != null)
     {
         Array.Copy(sourceArray, 0, destinationArray, 0, 4);
     }
     if (classArray3 != null)
     {
         Array.Copy(classArray3, 0, destinationArray, 4, 4);
     }
     return(destinationArray);
 }
Exemple #4
0
 internal Class827 method_55(EmbeddedFontStyle A_0)
 {
     if (this.class815_0 != null)
     {
         Class827 class2 = this.class815_0.method_4(EmbeddedFontFormat.OpenType, A_0);
         if ((class2 != null) && (class2.method_0() != null))
         {
             return(class2);
         }
         class2 = this.class815_0.method_4(EmbeddedFontFormat.EmbeddedOpenType, A_0);
         if ((class2 != null) && (class2.method_0() != null))
         {
             return(class2);
         }
     }
     return(null);
 }
    internal static string smethod_0(Class827 A_0, Stream A_1)
    {
        int num = 0x12;

        byte[] sourceArray = A_0.method_0();
        if (sourceArray == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("帷唹刻䨽п⍁ぃ❅", num));
        }
        byte[] destinationArray = new byte[Math.Min(sourceArray.Length, 0x20)];
        Array.Copy(sourceArray, destinationArray, destinationArray.Length);
        Guid guid = Class493.smethod_0(new object[] { sourceArray });

        smethod_2(destinationArray, guid);
        A_1.Write(destinationArray, 0, destinationArray.Length);
        A_1.Write(sourceArray, destinationArray.Length, A_0.method_0().Length - destinationArray.Length);
        return(guid.ToString(BookmarkStart.b("稷", num)).ToUpper());
    }
 internal void method_1(Class815 A_0)
 {
     for (int i = 0; i < 2; i++)
     {
         Class827[] classArray = A_0.class827_0[i];
         for (int j = 0; j < 4; j++)
         {
             Class827 class2 = classArray[j];
             if (class2 != null)
             {
                 Class827 class3 = this.class827_0[i][j];
                 if ((class3 == null) || (class3.method_3() && !class2.method_3()))
                 {
                     this.class827_0[i][j] = class2;
                 }
             }
         }
     }
 }
 internal void method_5(Class827 A_0)
 {
     this.class827_0[(int)A_0.method_1()][(int)A_0.method_2()] = A_0;
 }