mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-20 21:29:48 +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.
30 lines
750 B
C#
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;
|
|
}
|
|
}
|