public static object parseBinaryDate(int headerPosition) { byte[] array = Plist.objectTable.GetRange(headerPosition + 1, 8).ToArray(); Array.Reverse((Array)array); int startIndex = 0; return((object)PlistDateConverter.ConvertFromAppleTimeStamp(BitConverter.ToDouble(array, startIndex))); }
public static object parseBinaryDate(int headerPosition) { byte[] buffer = objectTable.GetRange(headerPosition + 1, 8).ToArray(); Array.Reverse(buffer); double appleTime = BitConverter.ToDouble(buffer, 0); DateTime result = PlistDateConverter.ConvertFromAppleTimeStamp(appleTime); return(result); }
// Token: 0x06000126 RID: 294 RVA: 0x00008230 File Offset: 0x00006430 public static object parseBinaryDate(int headerPosition) { byte[] array = Plist.objectTable.GetRange(headerPosition + 1, 8).ToArray(); Array.Reverse(array); double timestamp = BitConverter.ToDouble(array, 0); DateTime dateTime = PlistDateConverter.ConvertFromAppleTimeStamp(timestamp); return(dateTime); }