Files
SabreTools.Serialization/SabreTools.Data.Models/InstallShieldArchiveV3/Directory.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

30 lines
750 B
C#

using System.Runtime.InteropServices;
namespace SabreTools.Data.Models.InstallShieldArchiveV3
{
/// <see href="https://github.com/wfr/unshieldv3/blob/master/ISArchiveV3.cpp"/>
[StructLayout(LayoutKind.Sequential)]
public class Directory
{
/// <summary>
/// Number of files in the directory
/// </summary>
public ushort FileCount;
/// <summary>
/// Size of the chunk
/// </summary>
public ushort ChunkSize;
/// <summary>
/// Length of the following ASCII string
/// </summary>
public ushort NameLength;
/// <summary>
/// Name as an ASCII string
/// </summary>
public string Name = string.Empty;
}
}