mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
24 lines
627 B
C#
24 lines
627 B
C#
|
|
using System.Runtime.InteropServices;
|
||
|
|
|
||
|
|
namespace Aaru.Archives;
|
||
|
|
|
||
|
|
public partial class Arc
|
||
|
|
{
|
||
|
|
#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
|
||
|
|
}
|