Found 13 packages
A simple object to represent the size of a file. This is super useful when converting between bytes, megabytes, gigabytes, etc. Provides nice parsing for values like '2 GB' or '1.54mb'. Also has nice formatting in its ToString method.
Get file size from base64 string
Package Description
Vali-FileSize is a lightweight .NET library for converting and formatting file sizes across various units, including bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes. It provides a simple, fluent API for precise conversions, human-readable formatting, and automatic unit detection to optimize readability. With built-in support for cultural formatting and decimal precision, Vali-FileSize ensures robust and flexible file size handling in any .NET application, seamlessly integrating with dependency injection frameworks.
A small package with FileSize type.
A collection of ASP.NET Core TagHelpers for table operations, image handling, and file size formatting.
Human friendly, textual representations of TimeSpan and file size using standard .NET types. It is light-weight, tested and supports PCL.
A readonly struct for representing byte sizes with human-readable formatting, arithmetic operations, and full serialization support including dictionary key compatibility.
.NET Core için ek dosya desteği ve dosya boyutu kontrolü ile mail servis kütüphanesi.
General utilities library. Containing Option<T>, Result<TOk, TErr>, Unit, BitVectorHelpers, FileSize, SI and others.
ByteFlow.Net is a zero-dependency .NET library for converting raw byte values to and from human-readable formats. Features: - Supports both IEC (KiB, MiB, GiB) and SI (KB, MB, GB) unit standards - Culture-aware parsing and formatting (e.g., 1.5 MB vs 1,5 MB) - Customizable suffix sets for non-standard or domain-specific units - Alignment/padding helpers for clean console and tabular output - Fully tested with 100% code coverage Ideal for developers needing clear, reliable byte size conversions in .NET applications — with no external dependencies.
And incredibly simple service that does nothing but translate between human readable file sizes, and ulong. Ex (4.32 KB => 4,320) or (6,344,005 => 6.34 MB)
File Size Formatter is a tool for converting bytes to human-readable file sizes (KB, MB, GB, TB, etc.). It supports both binary (1024) and decimal (1000) standards with customizable precision.