namespace SabreTools.Data.Models.ISO9660
{
///
/// ISO9660 Path Table Record
/// Each path table record is numbered (starting from 1), which corresponds to the ordinal number of the corresponding directory
///
///
public sealed class PathTableRecord
{
///
/// Length of Directory Identifier
///
public byte DirectoryIdentifierLength { get; set; }
///
/// Length of the the extended attribute record
///
public byte ExtendedAttributeRecordLength { get; set; }
///
/// Location of the first logical block number of the first logical block allocated to the extent
///
public int ExtentLocation { get; set; }
///
/// Location of the first logical block number of the first logical block allocated to the extent
///
public short ParentDirectoryNumber { get; set; }
///
/// Directory name
/// Either d-characters or d1-characters, or a single 0x00 byte
///
public byte[] DirectoryIdentifier { get; set; } = [];
///
/// If DirectoryIdentifierLength is odd, the DirectoryIdentifier is followed by a single padding byte (0x00)
/// Optional field
///
public byte? PaddingField { get; set; }
}
}