[Aaru.Filesystems] Reformat and cleanup.

This commit is contained in:
2023-10-03 23:22:08 +01:00
parent 51f35c80d9
commit 7a608e0061
296 changed files with 21000 additions and 18286 deletions

View File

@@ -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
}