-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Add support for binary prefixes (KiB/MiB) in addition to decimal prefixes (KB/MB) #1
Comments
I thought about adding support for this, however, I had a hard time thinking of a good API for it.
|
Re: 1. Bytes and bits are used in both the decimal and binary space, so keeping the name ByteSize is not inaccurate. |
FYI, I started some work on this in 166ccbb. |
I decided to make this v2 given the changes that went into. An alpha is up on NuGet https://www.nuget.org/packages/ByteSize/2.0.0-alpha1 |
Track progress in #24 |
It would be very useful to add an option to handle both binary prefixes (kibi/mebi/gibi/tebi/pebi) and decimal prefixes (kilo/mega/giga/tera/peta), for parsing and formatting.
The text was updated successfully, but these errors were encountered: