Beispiel #1
0
 public static bool HasBit(byte val, EInputCmdType idx)
 {
     return((val & (1 << (byte)idx)) != 0);
 }
Beispiel #2
0
 public static byte ToByte(EInputCmdType idx)
 {
     return((byte)(1 << (byte)idx));
 }