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