예제 #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());