operator + method

BinarySize operator +(
  1. BinarySize other
)

Returns a new BinarySize whose bytesCount is the sum of this and other's byte counts.

Implementation

BinarySize operator +(BinarySize other) => BinarySize()..bytesCount = bytesCount + other.bytesCount;