public BinaryOffset Substract(BinaryOffset other) { return(Add(new BinaryOffset(-other.Bytes, (SByte)(-other.Bits)))); }
public BinaryOffset Add(BinaryOffset other) { var bitsSum = this.Bits + other.Bits; return(new BinaryOffset(this.Bytes + other.Bytes + bitsSum / Constants.BitsInByte, (SByte)(bitsSum % Constants.BitsInByte))); }