mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 07:37:10 +00:00
25 lines
651 B
C#
25 lines
651 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.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>
|
|
/// Byte-length-prefixed ASCII string
|
|
/// </summary>
|
|
[MarshalAs(UnmanagedType.BStr)]
|
|
public string? Name;
|
|
}
|
|
} |