1 // 2 // Copyright (c) 2010-2018 Antmicro 3 // 4 // This file is licensed under the MIT License. 5 // Full license text is available in 'licenses/MIT.txt'. 6 // 7 using System; 8 9 namespace Antmicro.Renode.Storage.SCSI 10 { 11 public struct SCSICommandDescriptorBlock 12 { DecodeCommandAntmicro.Renode.Storage.SCSI.SCSICommandDescriptorBlock13 public static SCSICommand DecodeCommand(byte[] data, int dataOffset = 0) 14 { 15 return (SCSICommand)data[dataOffset]; 16 } 17 } 18 }