using SabreTools.Numerics;
namespace SabreTools.Data.Models.ISO9660
{
///
/// Volume Partition Descriptor
/// Volume Descriptor with VolumeDescriptorType = 0x03
///
///
public sealed class VolumePartitionDescriptor : VolumeDescriptor
{
///
/// 1 unused byte at offset 7, should be 0x00
///
public byte UnusedByte { get; set; }
///
/// 32-byte name of the intended system that can use this record
/// a-characters only
///
public byte[] SystemIdentifier { get; set; } = new byte[32];
///
/// 32-byte name of this volume partition
/// d-characters only
///
public byte[] VolumePartitionIdentifier { get; set; } = new byte[32];
///
/// Logical block number of the first logical block allocated to this volume partition
///
public BothInt32 VolumePartitionLocation { get; set; } = 0;
///
/// Number of logical blocks allocated to this volume partition
///
public BothInt32 VolumePartitionSize { get; set; } = 0;
///
/// 1960 bytes for System Use, contents not defined by ISO9660
///
public byte[] SystemUse { get; set; } = new byte[1960];
}
}