Blame README.md

Packit Service af52df
### CI status
Packit Service af52df
Packit Service af52df
CI status
Packit Service af52df
Packit Service af52df
Packit Service af52df
### Introduction
Packit Service af52df
Packit Service af52df
The goal of this project is to provide a tiny library that would facilitate the
Packit Service af52df
common operations with sizes in bytes. Many projects need to work with sizes in
Packit Service af52df
bytes (be it sizes of storage space, memory,...) and all of them need to deal
Packit Service af52df
with the same issues like:
Packit Service af52df
Packit Service af52df
* How to get a human-readable string for the given size?
Packit Service af52df
* How to store the given size so that no significant information is lost?
Packit Service af52df
* If we store the size in bytes, what if the given size gets over the ``MAXUINT64``
Packit Service af52df
  value?
Packit Service af52df
* How to interpret sizes entered by users according to their locale and typing
Packit Service af52df
  conventions?
Packit Service af52df
* How to deal with the decimal/binary units (*MB* vs. *MiB*) ambiguity?
Packit Service af52df
Packit Service af52df
Some projects have all the above questions/concerns addressed well, some have
Packit Service af52df
them addressed partially some simply don't care. However, having (partial)
Packit Service af52df
solutions implemented in multiple places every time with a different set of
Packit Service af52df
bugs, differences in behaviour and this or that missing is a waste of time and
Packit Service af52df
effort. We need a generally usable solution that could be used by every project
Packit Service af52df
that needs to deal with sizes in bytes.
Packit Service af52df
Packit Service af52df
Since the goal is to provide a solution as much generally usable as possible the
Packit Service af52df
implementation has to be small, fast and written in a language that can be
Packit Service af52df
easily interfaced from other languages. The current obvious choice is the *C*
Packit Service af52df
language with thin bindings for other languages.