mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-08 07:13:01 +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.
39 lines
848 B
C#
39 lines
848 B
C#
using System.Runtime.InteropServices;
|
|
|
|
#pragma warning disable CS0618 // 'UnmanagedType.AnsiBStr' is obsolete
|
|
namespace SabreTools.Data.Models.InstallShieldArchiveV3
|
|
{
|
|
/// <see href="https://github.com/wfr/unshieldv3/blob/master/ISArchiveV3.h"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public class File
|
|
{
|
|
public byte VolumeEnd;
|
|
|
|
public ushort Index;
|
|
|
|
public uint UncompressedSize;
|
|
|
|
public uint CompressedSize;
|
|
|
|
public uint Offset;
|
|
|
|
public uint DateTime;
|
|
|
|
public uint Reserved0;
|
|
|
|
public ushort ChunkSize;
|
|
|
|
[MarshalAs(UnmanagedType.U1)]
|
|
public Attributes Attrib;
|
|
|
|
public byte IsSplit;
|
|
|
|
public byte Reserved1;
|
|
|
|
public byte VolumeStart;
|
|
|
|
[MarshalAs(UnmanagedType.AnsiBStr)]
|
|
public string Name = string.Empty;
|
|
}
|
|
}
|