Ookii Namespace

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.

Classes

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.
BinaryUnitInfo Provides culture-specific information on how to format and parse multiple-byte units.
CultureInfoExtensions Provides extension methods for the CultureInfo class.
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.

Structures

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.

Enumerations

See Also