mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Aaru.Filesystems] Reformat and cleanup.
This commit is contained in:
@@ -33,6 +33,8 @@ namespace Aaru.Filesystems;
|
||||
|
||||
public sealed partial class ISO9660
|
||||
{
|
||||
#region Nested type: ElToritoBootRecord
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
readonly struct ElToritoBootRecord
|
||||
{
|
||||
@@ -49,17 +51,9 @@ public sealed partial class ISO9660
|
||||
public readonly byte[] boot_use;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
readonly struct ElToritoValidationEntry
|
||||
{
|
||||
public readonly ElToritoIndicator header_id;
|
||||
public readonly ElToritoPlatform platform_id;
|
||||
public readonly ushort reserved;
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 24)]
|
||||
public readonly byte[] developer_id;
|
||||
public readonly ushort checksum;
|
||||
public readonly ushort signature;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Nested type: ElToritoInitialEntry
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct ElToritoInitialEntry
|
||||
@@ -75,15 +69,9 @@ public sealed partial class ISO9660
|
||||
public readonly byte[] reserved2;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
readonly struct ElToritoSectionHeaderEntry
|
||||
{
|
||||
public readonly ElToritoIndicator header_id;
|
||||
public readonly ElToritoPlatform platform_id;
|
||||
public readonly ushort entries;
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 28)]
|
||||
public readonly byte[] identifier;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Nested type: ElToritoSectionEntry
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
readonly struct ElToritoSectionEntry
|
||||
@@ -100,6 +88,10 @@ public sealed partial class ISO9660
|
||||
public readonly byte[] selection_criterias;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Nested type: ElToritoSectionEntryExtension
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
readonly struct ElToritoSectionEntryExtension
|
||||
{
|
||||
@@ -108,4 +100,36 @@ public sealed partial class ISO9660
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 30)]
|
||||
public readonly byte[] selection_criterias;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Nested type: ElToritoSectionHeaderEntry
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
readonly struct ElToritoSectionHeaderEntry
|
||||
{
|
||||
public readonly ElToritoIndicator header_id;
|
||||
public readonly ElToritoPlatform platform_id;
|
||||
public readonly ushort entries;
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 28)]
|
||||
public readonly byte[] identifier;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Nested type: ElToritoValidationEntry
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
readonly struct ElToritoValidationEntry
|
||||
{
|
||||
public readonly ElToritoIndicator header_id;
|
||||
public readonly ElToritoPlatform platform_id;
|
||||
public readonly ushort reserved;
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 24)]
|
||||
public readonly byte[] developer_id;
|
||||
public readonly ushort checksum;
|
||||
public readonly ushort signature;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user