libbytesize1

library for common operations with sizes in bytes

Description

Many projects need to work with sizes in bytes (be it sizes of storage space, memory, ...) and all of them need to deal with the same issues like:

 * How to get a human-readable string for the given size?
 * How to store the given size so that no significant information is lost?
 * How to handle sizes bigger than MAXUINT64?
 * How to interpret sizes entered by users according to their locale and
   typing conventions?
 * How to deal with the decimal/binary units (MB vs. MiB) ambiguity?

This library aims to be as much generally usable as possible, small, fast and be easily interfaced from other languages.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/storaged-project/libbytesize


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libbytesize1