omar / ByteSize

ByteSize is a utility class that makes byte size representation in code easier by removing ambiguity of the value being represented. ByteSize is to bytes what System.TimeSpan is to time.
MIT License
558 stars 50 forks source link

Remove "AddX" method like AddKiloByte/AddKebibyte etc. #62

Open omar opened 2 years ago

omar commented 2 years ago

Not sure how useful AddKiloByte/AddKebibyte and their sibling methods are. These were added to mimic DateTime behavior (AddSeconds, AddMinutes, etc.), but with the addition of binary and decimal to the class, I could these being a bit redundant and excessive.