2025-09-01 03:52:46 +01:00
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
|
|
namespace Aaru.Archives;
|
|
|
|
|
|
2025-09-01 03:55:48 +01:00
|
|
|
public sealed partial class Arc
|
2025-09-01 03:52:46 +01:00
|
|
|
{
|
|
|
|
|
#region Nested type: Header
|
|
|
|
|
|
|
|
|
|
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
|
|
|
|
readonly struct Header
|
|
|
|
|
{
|
|
|
|
|
public readonly byte marker;
|
|
|
|
|
public readonly byte method;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = FNLEN)]
|
|
|
|
|
public readonly byte[] filename;
|
|
|
|
|
public readonly int compressed;
|
|
|
|
|
public readonly ushort date;
|
|
|
|
|
public readonly ushort time;
|
|
|
|
|
public readonly ushort crc;
|
|
|
|
|
public readonly int uncompressed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|