Files
SabreTools.Serialization/SabreTools.Data.Models/PKZIP/EndOfCentralDirectoryLocator64.cs
Matt Nadareski 7689c6dd07 Libraries
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
2026-03-21 16:26:56 -04:00

33 lines
929 B
C#

using System.Runtime.InteropServices;
namespace SabreTools.Data.Models.PKZIP
{
/// <summary>
/// Zip64 end of central directory locator
/// </summary>
/// <see href="https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT"/>
[StructLayout(LayoutKind.Sequential)]
public class EndOfCentralDirectoryLocator64
{
/// <summary>
/// ZIP64 end of central directory locator signature (0x07064B50)
/// </summary>
public uint Signature;
/// <summary>
/// Number of the disk with the start of the end of central directory
/// </summary>
public uint StartDiskNumber;
/// <summary>
/// Relative offset of start of central directory record
/// </summary>
public ulong CentralDirectoryOffset;
/// <summary>
/// Total number of disks
/// </summary>
public uint TotalDisks;
}
}