namespace SabreTools.Data.Models.ISO9660
{
///
/// Abstract ISO9660 Volume Descriptor
/// Each VolumeDescriptor consists of 1 logical sector (usually 2048 bytes)
/// The first 7 bytes are a fixed header, the remaining bytes are application specific
///
///
public abstract class VolumeDescriptor
{
///
/// The type of VolumeDescriptor
///
public VolumeDescriptorType Type { get; set; }
///
/// 5-byte magic
/// Set to Constants.StandardIdentifier ("CD001")
/// On non-ISO9660 CD-i discs, set to Constants.StandardIdentifierCDI ("CD-I ")
///
public byte[] Identifier { get; set; } = new byte[5];
///
/// The Volume Descriptor version number
/// 1 for all specific Volume Descriptors other than Enhanced Volume Descriptor
/// 2 for Enhanced Volume Descriptor (including Joliet)
///
public byte Version { get; set; }
}
}