diff --git a/Structs/Devices/SCSI/Inquiry.cs b/Structs/Devices/SCSI/Inquiry.cs index bc7c89d..02039d2 100644 --- a/Structs/Devices/SCSI/Inquiry.cs +++ b/Structs/Devices/SCSI/Inquiry.cs @@ -246,10 +246,7 @@ public struct Inquiry public byte[] HiMDSpecific; #endregion Sony Hi-MD data - static readonly byte[] HiMDSignatureContents = - { - 0x48, 0x69, 0x2D, 0x4D, 0x44, 0x20, 0x20, 0x20 - }; + static readonly byte[] HiMDSignatureContents = "Hi-MD "u8.ToArray(); /// Decodes a SCSI INQUIRY response /// INQUIRY raw response data @@ -389,10 +386,7 @@ public struct Inquiry Array.Copy(SCSIInquiryResponse, 42, decoded.KreonVersion, 0, 5); if(decoded.KreonSpace == 0x20 && - decoded.KreonIdentifier.SequenceEqual(new byte[] - { - 0x4B, 0x52, 0x45, 0x4F, 0x4E - })) + decoded.KreonIdentifier.SequenceEqual("KREON"u8.ToArray())) decoded.KreonPresent = true; }