Skip to content

Releases: SvenGroot/Ookii.BinarySize

Ookii.BinarySize 1.1

15 Sep 23:03
e86ae44
Compare
Choose a tag to compare

What's new

Version 1.1 adds unabbreviated unit support and localization.

See the change log for more information.

Release contents

  • The Ookii.BinarySize assembly in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, and .Net 7.0 and later.
  • The Ookii.BinarySize.Async assembly in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, and .Net 7.0 and later.
  • Several sample applications.

This release is also available on NuGet: Ookii.BinarySize and Ookii.BinarySize.Async.

Ookii.BinarySize 1.1 preview

29 Aug 23:05
Compare
Choose a tag to compare
Pre-release

What's new

This is a preview release of version 1.1, which adds unabbreviated unit support and localization.

See the change log for more information.

Release contents

  • The Ookii.BinarySize assembly in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, and .Net 7.0 and later.
  • The Ookii.BinarySize.Async assembly in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, and .Net 7.0 and later.
  • Several sample applications.

This release is also available on NuGet: Ookii.BinarySize and Ookii.BinarySize.Async.

Ookii.BinarySize 1.0

31 Jul 20:09
Compare
Choose a tag to compare

What's new

Ookii.BinarySize is a modern library for parsing and displaying quantities of bytes, using
human-readable representation.

It provides functionality to parse numeric values that end with a multiple-byte unit,
such as B, KB, MiB, and so on, and to format them for display in the same way. It can automatically
choose the best unit, or you can choose the one you want, based on the format string.

  • Supports units with SI prefixes ("KB", "MB", "GB", "TB", "PB", and "EB"), and IEC prefixes
    ("KiB", "MiB", "GiB", "TiB", "PiB", and "EiB"), with and without the "B".
  • Interpret SI prefixes as either powers of two or powers of ten.
  • Parse and store values up to approximately positive and negative 8 EiB, using Int64 (long)
    as the underlying storage.
  • Implements arithmetic and binary operators, and supports .Net 7 generic math.
  • Trim-friendly.

Release contents

  • The Ookii.BinarySize assembly in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, and .Net 7.0 and later.
  • The Ookii.BinarySize.Async assembly in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, and .Net 7.0 and later.
  • Several sample applications.

This release is also available on NuGet: Ookii.BinarySize and Ookii.BinarySize.Async.

Ookii.BinarySize 1.0 preview

24 Jul 20:44
Compare
Choose a tag to compare
Pre-release

What's new

This is a preview release for Ookii.BinarySize 1.0, the first release of this project.

Release contents

  • The Ookii.BinarySize assembly in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0 and .Net 7.0.
  • The Ookii.BinarySize.Async assembly in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0 and .Net 7.0.
  • Several sample applications.

This release is also available on NuGet: Ookii.BinarySize and Ookii.BinarySize.Async.