Esempio n. 1
0
 public byte RotateRightThrough(ref bool carry)
 => this.Value = ByteMath.RotateRightThroughCarry(this.Value, ref carry);
Esempio n. 2
0
 public bool GetBit(int index) => ByteMath.GetBit(this.Value, index);
Esempio n. 3
0
 public byte RotateRight(out bool carry)
 => this.Value = ByteMath.RotateRight(this.Value, out carry);
Esempio n. 4
0
 public byte LogicalShiftRight(out bool carry)
 => this.Value = ByteMath.LogicalShiftRight(this.Value, out carry);
Esempio n. 5
0
 public byte ArithmeticShiftRight(out bool carry)
 => this.Value = ByteMath.ArithmeticShiftRight(this.Value, out carry);
Esempio n. 6
0
 public byte Swap() => this.Value = ByteMath.Swap(this.Value);
Esempio n. 7
0
 public void SetBit(int index, bool bit)
 => this.Value = ByteMath.SetBit(this.Value, index, bit);