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

avoid alloc of sizePart if numberpart is a match #77

Closed SimonCropp closed 4 weeks ago

omar commented 4 weeks ago

Thank you for the PRs.