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