NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet · #1666 most downloaded on NuGet
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.
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 3.0 years
Nearly every release is documented
notes for 16 of 16 stable releases
13 versions withdrawn
withdrawn after publishing
127 years old
29 releases · first in 1900
View all release notes at https://github.com/omar/ByteSize/blob/master/CHANGELOG.md.
View all release notes at https://github.com/omar/ByteSize/blob/master/CHANGELOG.md.
Fix potential System.NullReferenceException in the ToString() methods
View all release notes at https://github.com/omar/ByteSize/blob/master/CHANGELOG.md.
One column per quarter.
Support multiple (*) and divide (/) operators of ByteSize object
View all release notes at https://github.com/omar/ByteSize/releases.
By default ByteSize now assumes 1 KB == 1000 B and 1 KiB == 1024 B to adhere to the IEC and NIST standards (https://en.wikipedia.org/wiki/Binary_prefi
HUGE BREAKING CHANGE:
By default ByteSize now assumes 1 KB == 1000 B and 1 KiB == 1024 B to
adhere to the IEC and NIST standards (https://en.wikipedia.org/wiki/Binary_prefix).
In the past ByteSize assumed 1 KB == 1024 B, that means if you're upgrading
from v1, you'll see differences in values.
Other Breaking Changes:
LargestWholeNumberSymbol and LargestWholeNumberValue to LargestWholeNumberDecimalSymbol and LargestWholeNumberDecimalValue respectively.netstandard1.0 and net45.New Features:
ByteSize.FromKibiByte and ByteSize.FromKiloByte).long value as the number of bits.View all release notes at https://github.com/omar/ByteSize/releases.
By default ByteSize now assumes 1 KB == 1000 B and 1 KiB == 1024 B to adhere to the IEC and NIST standards (https://en.wikipedia.org/wiki/Binary_prefi
HUGE BREAKING CHANGE:
By default ByteSize now assumes 1 KB == 1000 B and 1 KiB == 1024 B to
adhere to the IEC and NIST standards (https://en.wikipedia.org/wiki/Binary_prefix).
In the past ByteSize assumed 1 KB == 1024 B, that means if you're upgrading
from v1, you'll see differences in values.
Other Breaking Changes:
LargestWholeNumberSymbol and LargestWholeNumberValue to LargestWholeNumberDecimalSymbol and LargestWholeNumberDecimalValue respectively.netstandard1.0 and net45.New Features:
ByteSize.FromKibiByte and ByteSize.FromKiloByte).long value as the number of bits.View all release notes at https://github.com/omar/ByteSize/releases.
Namespace changed to back to ByteSizeLib from ByteSize.
Breaking Changes from Alpha 1:
ByteSizeLib from ByteSize.BinaryByteSize, DecimalByteSize, NonStandardByteSize structs.New Features:
ByteSize struct now contains all the methods to handle binary and decimal values.net45.For feedback, please comment here https://github.com/omar/ByteSize/pull/24
View all release notes at https://github.com/omar/ByteSize/releases.
Drop support for all platforms except netstandard2.0.
Breaking Changes:
netstandard2.0.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.
Add support for subtracting two ByteSize objects.
Add support for subtracting two ByteSize objects.
View all release notes at https://github.com/omar/ByteSize/releases.
Support .NET Standard 1.0 and .NET Framework 3.5.
Support .NET Standard 1.0 and .NET Framework 3.5.
View all release notes at https://github.com/omar/ByteSize/releases.
Support .NET Standard 1.0 and .NET Framework 3.5.
Support .NET Standard 1.0 and .NET Framework 3.5.
View all release notes at https://github.com/omar/ByteSize/releases.
Nothing published for this version
Fix TryParse to not throw exceptions.
Fix ToString result for ByteSize of zero value.
Improve memory footprint of a ByteSize object.
Fix parsing of numbers with a group separator like '1,200.56 mb'.
Localize number decimal separator for Parse and TryParse methods.
Remove extra dependencies when targeting full framework or portable class library.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Use 0 as ByteSize.MinValue and fix unit tests for locals.
- Support Core CLR.
Add localization to ToString method.
Change namespace to ByteSizeLib.
- Add PetaByte support.
Add Parse/TryParse, fix arithmitic operations, convert to PCL.
- Initial Release
Your coding agent can read these notes before it upgrades. Set up the MCP server →