Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Converts from / to various data sizes represented in bytes, KB, MB, etc.

License

Notifications You must be signed in to change notification settings

WeConnectArchive/WeWorkSandbox-data-size

Repository files navigation

Data Size

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.

Running the tests

You can run the tests by executing

./gradlew test

Coding style

This tool comes packaged with ktlint for Kotlin style correctness

./gradlew ktlintCheck

Built With

Contributing

Feel free to contribute with suggestions to this project in terms of issues or pull requests.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

About

Converts from / to various data sizes represented in bytes, KB, MB, etc.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages