12345678910111213141516171819202122232425 |
- using System.IO;
- namespace SharpCompress.Common.Zip.Headers
- {
- internal class Zip64DirectoryEndLocatorHeader : ZipHeader
- {
- public Zip64DirectoryEndLocatorHeader()
- : base(ZipHeaderType.Zip64DirectoryEndLocator)
- {
- }
- internal override void Read(BinaryReader reader)
- {
- FirstVolumeWithDirectory = reader.ReadUInt32();
- RelativeOffsetOfTheEndOfDirectoryRecord = (long)reader.ReadUInt64();
- TotalNumberOfVolumes = reader.ReadUInt32();
- }
- public uint FirstVolumeWithDirectory { get; private set; }
- public long RelativeOffsetOfTheEndOfDirectoryRecord { get; private set; }
- public uint TotalNumberOfVolumes { get; private set; }
- }
- }
|