diff --git a/SabreTools.Serialization/Extensions/ISO9660.cs b/SabreTools.Serialization/Extensions/ISO9660.cs index 289bba22..7919c7e3 100644 --- a/SabreTools.Serialization/Extensions/ISO9660.cs +++ b/SabreTools.Serialization/Extensions/ISO9660.cs @@ -43,51 +43,6 @@ namespace SabreTools.Data.Extensions return blockLength; } - /// - /// Check if a volume descriptor has all 0x00 reserved bytes - /// - /// Volume descriptor containing the reserved bytes - /// True if the reserved bytes are all 0x00, false otherwise - public static bool HasUnsetReservedBytes(this BaseVolumeDescriptor? bvd) - { - // Invalid volume descriptor - if (bvd?.Reserved653Bytes == null) - return false; - - // Check if all bytes are 0x00 - return Array.TrueForAll(bvd.Reserved653Bytes, b => b == 0x00); - } - - /// - /// Determine if a volume descriptor was written by ImgBurn - /// - /// Volume descriptor containing the application use bytes - /// True if the descriptor was written by ImgBurn, false otherwise - public static bool IsImgBurn(this BaseVolumeDescriptor? bvd) - { - // Invalid volume descriptor - if (bvd?.ApplicationUse == null) - return false; - - // "ImgBurn" - return bvd.ApplicationUse.StartsWith([0x49, 0x6D, 0x67, 0x42, 0x75, 0x72, 0x6E]); - } - - /// - /// Determine if a volume descriptor was written by UltraISO - /// - /// Volume descriptor containing the application use bytes - /// True if the descriptor was written by UltraISO, false otherwise - public static bool IsUltraISO(this BaseVolumeDescriptor? bvd) - { - // Invalid volume descriptor - if (bvd?.ApplicationUse == null) - return false; - - // "ULTRAISO" - return bvd.ApplicationUse.StartsWith([0x55, 0x4C, 0x54, 0x52, 0x41, 0x49, 0x53, 0x4F]); - } - /// /// Indicates if an array contains all ASCII numeric digits ///