/// <summary> /// Creates a new PiggLeafInfo object. /// </summary> /// <param name="Base">Base PiggFile object that contains the file /// described by this info object.</param> /// <param name="Entry">PiggFileDirectoryEntry object that contains /// descriptive information for this info object.</param> internal PiggLeafInfo(PiggFile Base, PiggFileDirectoryEntry Entry) { this.File = Base; this.UncompressedSize = Entry.UncompressedSize; this.CompressedSize = Entry.CompressedSize; this.Offset = Entry.Offset; this.SecondaryIndex = Entry.SecondaryIndex; this.Timestamp = Entry.Timestamp; this.MD5 = Entry.MD5; }
/// <summary> /// Creates a new PiggLeafInfo object. /// </summary> /// <param name="Base">Base PiggFile object that contains the file /// described by this info object.</param> public PiggLeafInfo(PiggFile Base) { this.File = Base; }