Cache ISO, HSF and CDI record sizes.

This commit is contained in:
2019-07-31 19:44:27 +01:00
parent 816835e667
commit 62e14f275e
3 changed files with 22 additions and 24 deletions

View File

@@ -31,12 +31,15 @@
// ****************************************************************************/
using System;
using DiscImageChef.Helpers;
namespace DiscImageChef.Filesystems.ISO9660
{
public partial class ISO9660
{
const string CDI_MAGIC = "CD-I ";
const string CDI_MAGIC = "CD-I ";
static readonly int CdiDirectoryRecordSize = Marshal.SizeOf<CdiDirectoryRecord>();
static readonly int CdiSystemAreaSize = Marshal.SizeOf<CdiSystemArea>();
[Flags]
enum CdiVolumeFlags : byte