Пример #1
0
 public int CompareTo(ByteLength other)
 {
     return(_value.CompareTo(other.ToWordLength().ToInt32()));
 }
Пример #2
0
 public WordOffset Plus(ByteLength other) => new WordOffset(_value + other.ToWordLength().ToInt32());
Пример #3
0
 public WordLength Minus(ByteLength other)
 {
     return(new WordLength(_value - other.ToWordLength().ToInt32()));
 }
Пример #4
0
 public WordLength Minus(ByteLength other) => new WordLength(_value - other.ToWordLength().ToInt32());