ByteSize 2.1.0

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.

Install-Package ByteSize -Version 2.1.0
dotnet add package ByteSize --version 2.1.0
<PackageReference Include="ByteSize" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ByteSize --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ByteSize, 2.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ByteSize as a Cake Addin
#addin nuget:?package=ByteSize&version=2.1.0

// Install ByteSize as a Cake Tool
#tool nuget:?package=ByteSize&version=2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- Support multiple (*) and divide (/) operators of ByteSize object
- Add ToString IFormattable parameter overload
- Add target for .NET 5

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

  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on ByteSize:

Package Downloads
Sucrose.Orleans.Persistence.Redis
Package Description
Yove.Http
Http Client for .Net | Http, Socks4, Socks5 client
Zen.Base
A fluid, seamless middleware.
CodeExecutionSystem.Contracts
Package Description
GR.Backup.Razor
Package Description

GitHub repositories (14)

Showing the top 5 popular GitHub repositories that depend on ByteSize:

Repository Stars
files-community/Files
A modern file manager that pushes the boundaries of the platform.
WOA-Project/WOA-Deployer-Rpi
WOA Deployer for Raspberry Pi
WOA-Project/WoA-Installer-Rpi
This repository was deprecated, use:
ProtonVPN/win-app
Official ProtonVPN Windows app
jenius-apps/ambie
The best white noise app on Windows

Version History

Version Downloads Last updated
2.1.0 2,222 9/3/2021
2.0.0 508,690 1/14/2020
1.3.0 424,003 1/22/2017
1.2.5 866 1/21/2017
1.2.4 2,665 11/25/2016
1.2.3 4,092 11/10/2016
1.2.2 1,262 10/28/2016
1.2.1 13,021 7/23/2016
1.2.0 1,763 6/18/2016
1.1.3 1,067 6/18/2016
1.1.2 2,494 3/22/2016
1.1.1 2,180 12/13/2015
1.1.0 7,179 8/20/2015
1.0.0 4,183 5/30/2015