Ejemplo n.º 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];
 }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public int CompareTo(FourCc other)
 {
     return(Dword.CompareTo(other.Dword));
 }
Ejemplo n.º 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public bool Equals(FourCc other)
 {
     return(Dword.Equals(other.Dword));
 }