mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-05-06 20:43:36 +00:00
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.
33 lines
929 B
C#
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;
|
|
}
|
|
}
|