protected static ushort ToValue(UsbHidReportRequestType type, UsbHidReportRequestId id) { return(BitConverter.ToUInt16(new[] { (byte)id, (byte)type }, 0)); }
protected static ushort ToValue(UsbHidReportRequestType type, UsbHidReportRequestId id) { return BitConverter.ToUInt16(new[] { (byte)id, (byte)type }, 0); }