Ookii.BinarySize provides parsing and formatting of quantities of bytes using human-readable representation, with binary prefixes such as "MB", "GiB", and so forth.
The BinarySize structure provides most of the library's functionality. The IecBinarySize structure is a wrapper that parses SI prefixes as powers of ten.
| AsyncEnumerableExtensions | Provides extension methods for IAsyncEnumerableT for use with the BinarySize type. |
| BinarySizeConverter | Converts a BinarySize object from one data type to another. Access this class through the TypeDescriptor class. |
| BinarySizeJsonConverter | Converts the BinarySize structure to or from JSON. |
| EnumerableExtensions | Provides extension methods for IEnumerableT for use with the BinarySize type. |
| IecBinarySizeConverter | Converts an IecBinarySize object from one data type to another. Access this class through the TypeDescriptor class. |
| IecBinarySizeJsonConverter | Converts the IecBinarySize structure to or from JSON. |
| BinarySize | Represents a quantity of bytes, supporting formatting and parsing using units with binary prefixes such as "KB" or "KiB". |
| IecBinarySize | Provides a wrapper around the BinarySize structure that always uses BinarySizeOptionsUseIecStandard when parsing values from a string. |
| BinarySizeOptions | Determines how byte unit suffixes are interpreted when parsing a string into a BinarySize value, when passed to the BinarySizeParse(String, BinarySizeOptions, NumberStyles, IFormatProvider) and BinarySizeTryParse(String, BinarySizeOptions, NumberStyles, IFormatProvider, BinarySize) methods. |