Пример #1
0
 private void EncodeDriveMode(Byte[] buff, DriveModeKind value)
 {
     buff[0] = (byte)((buff[0] & ~0x30) | ((int)value & 0x30));
 }
Пример #2
0
 private void EncodeDriveMode(Byte[] buff, DriveModeKind value)
 {
     buff[0] = (byte)((buff[0] & ~0x30) | ((int)value & 0x30));
 }