Data Size is a minimalistic library meant to parse data size quantities represented like strings
(10 mb
, 1.5TB
, .3 GB
including negative values -2.5KB
) and provide the ability to convert
between different types of data sizes.
You can run the tests by executing
./gradlew test
This tool comes packaged with ktlint for Kotlin style correctness
./gradlew ktlintCheck
Feel free to contribute with suggestions to this project in terms of issues or pull requests.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Stefan Zhelyazkov - http://www.stefanzh.com/
This project is licensed under the MIT License - see the LICENSE file for details
- Hat tip to anyone whose code was used
- Inspiration
- etc