Exemple #1
0
        private int method_1(byte[] byte_0, int int_4, int int_5)
        {
            byte[] array = new byte[int_5 + int_5 + int_5];
            int    num   = this.stream1_0.Read(array, 0, array.Length);
            int    i     = 0;

            while (i < num)
            {
                byte_0[int_4] = Class11.smethod_8(Struct8.smethod_2(byte_0, i));
                i            += 3;
                int_4++;
            }
            return(num / 3);
        }
Exemple #2
0
 // Token: 0x060005E0 RID: 1504 RVA: 0x000292FC File Offset: 0x000274FC
 internal static bool smethod_17(Struct8 struct8_0, string string_0, IFormatProvider iformatProvider_0, out DateTimeOffset dateTimeOffset_0)
 {
     if (struct8_0.method_2() > 0)
     {
         int num = struct8_0.method_1();
         if (struct8_0[num] == '/')
         {
             if (struct8_0.method_2() >= 9 && struct8_0.smethod_1("/Date(") && struct8_0.smethod_2(")/") && Class25.smethod_21(struct8_0, out dateTimeOffset_0))
             {
                 return(true);
             }
         }
         else if (struct8_0.method_2() >= 19 && struct8_0.method_2() <= 40 && char.IsDigit(struct8_0[num]) && struct8_0[num + 10] == 'T' && Class25.smethod_13(struct8_0, out dateTimeOffset_0))
         {
             return(true);
         }
         if (!string.IsNullOrEmpty(string_0) && Class25.smethod_22(struct8_0.ToString(), string_0, iformatProvider_0, out dateTimeOffset_0))
         {
             return(true);
         }
     }
     dateTimeOffset_0 = default(DateTimeOffset);
     return(false);
 }
Exemple #3
0
 // Token: 0x060005DE RID: 1502 RVA: 0x00029140 File Offset: 0x00027340
 internal static bool smethod_15(Struct8 struct8_0, DateTimeZoneHandling dateTimeZoneHandling_0, string string_0, IFormatProvider iformatProvider_0, out DateTime dateTime_0)
 {
     if (struct8_0.method_2() > 0)
     {
         int num = struct8_0.method_1();
         if (struct8_0[num] == '/')
         {
             if (struct8_0.method_2() >= 9 && struct8_0.smethod_1("/Date(") && struct8_0.smethod_2(")/") && Class25.xkTsxUkKek(struct8_0, dateTimeZoneHandling_0, out dateTime_0))
             {
                 return(true);
             }
         }
         else if (struct8_0.method_2() >= 19 && struct8_0.method_2() <= 40 && char.IsDigit(struct8_0[num]) && struct8_0[num + 10] == 'T' && Class25.smethod_12(struct8_0, dateTimeZoneHandling_0, out dateTime_0))
         {
             return(true);
         }
         if (!string.IsNullOrEmpty(string_0) && Class25.smethod_20(struct8_0.ToString(), dateTimeZoneHandling_0, string_0, iformatProvider_0, out dateTime_0))
         {
             return(true);
         }
     }
     dateTime_0 = default(DateTime);
     return(false);
 }
Exemple #4
0
 private static byte[] smethod_7(byte[] byte_0, int int_4)
 {
     return(BitConverter.GetBytes(Class11.smethod_9(Struct8.smethod_2(byte_0, int_4))));
 }