ByteSize 2.0.0-alpha1

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.

This is a prerelease version of ByteSize.
There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package ByteSize -Version 2.0.0-alpha1
dotnet add package ByteSize --version 2.0.0-alpha1
<PackageReference Include="ByteSize" Version="2.0.0-alpha1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ByteSize --version 2.0.0-alpha1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Breaking Changes:

- Drop support for all platforms except `netstandard2.0`.
- Namespace changed to `ByteSize` from `ByteSizeLib`.
- `ByteSize` renamed to `NonStandardByteSize` but keeps same functionality.

New Features:

- `DecimalByteSize` object: `1 KB = 1000 B` with abbreivations `KB`, `MB`, etc.
- `BinaryByteSize` object: `1 KiB = 1024 B` with abbreivations `KiB`, `MiB`, etc.

View all release notes at https://github.com/omar/ByteSize/releases.

  • .NETStandard 2.0

    • No dependencies.

Version History

Version Downloads Last updated
2.0.0-alpha2 103 3/28/2019
2.0.0-alpha1 299 12/24/2018
1.3.0 112,285 1/22/2017
1.2.5 263 1/21/2017
1.2.4 1,812 11/25/2016
1.2.3 1,657 11/10/2016
1.2.2 478 10/28/2016
1.2.1 3,672 7/23/2016
1.2.0 1,094 6/18/2016
1.1.3 294 6/18/2016
1.1.2 1,459 3/22/2016
1.1.1 1,524 12/13/2015
1.1.0 5,224 8/20/2015
1.0.0 2,214 5/30/2015