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