コード例 #1
0
 /// <summary>
 /// Initializes a new <see cref="FileEntry"/> instance using the supplied <see cref="Entry"/> object.
 /// </summary>
 /// <param name="entry">The entry object.</param>
 internal FileEntry(Entry entry)
 {
     filename    = string.Empty;
     offset      = (int)entry.Offset;
     length      = (int)entry.Length;
     created     = entry.Created.Ticks;
     modified    = entry.Modified.Ticks;
     accessed    = entry.Accessed.Ticks;
     compression = entry.Compression;
     data        = new byte[0];
 }
コード例 #2
0
ファイル: Structures.cs プロジェクト: MikeMatt16/Abide
 /// <summary>
 ///
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public int CompareTo(FourCc other)
 {
     return(Dword.CompareTo(other.Dword));
 }
コード例 #3
0
ファイル: Structures.cs プロジェクト: MikeMatt16/Abide
 /// <summary>
 ///
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public bool Equals(FourCc other)
 {
     return(Dword.Equals(other.Dword));
 }