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.

The UBinarySize and UIecBinarySize structures provide unsigned versions of the same functionality.

Classes

AsyncEnumerableExtensions Provides extension methods for IAsyncEnumerableT for use with the BinarySize and UBinarySize types.
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 and UBinarySize types.
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.
UBinarySizeConverter Converts a UBinarySize object from one data type to another. Access this class through the TypeDescriptor class.
UBinarySizeJsonConverter Converts the UBinarySize structure to or from JSON.
UIecBinarySizeConverter Converts an UIecBinarySize object from one data type to another. Access this class through the TypeDescriptor class.
UIecBinarySizeJsonConverter Converts the UIecBinarySize 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.
UBinarySize Represents an unsigned quantity of bytes, supporting formatting and parsing using units with binary prefixes such as "KB" or "KiB".
UIecBinarySize Provides a wrapper around the UBinarySize structure that always uses BinarySizeOptionsUseIecStandard when parsing values from a string.

Enumerations

See Also