public int CalculateDifference(LValue other) { int ldiff = ModularDifferenceCalculator.Calculate(_value, other.GetValue(), RangeLvalue); if (ldiff == 0) { return(0); } if (ldiff == 1) { return(1); } return(ldiff * 12); }
public DigestStringBuilder Append(LValue lValue) { _value.Append(ToHex(swap(lValue.GetValue()))); return(this); }
private void WithLValueData(int data) { this._lValue = new LValue(swap(data)); }