Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SizeLongConvertor for K, M, G, T suffix sizes #859

Open
peter-lawrey opened this issue Mar 19, 2024 · 0 comments
Open

Support SizeLongConvertor for K, M, G, T suffix sizes #859

peter-lawrey opened this issue Mar 19, 2024 · 0 comments
Assignees

Comments

@peter-lawrey
Copy link
Member

Sizes more than a few KB are tedious to write correctly or read. Using notation like 8K, 32M, 128G or 512T is clearer,

@peter-lawrey peter-lawrey self-assigned this Mar 19, 2024
peter-lawrey added a commit that referenced this issue Mar 21, 2024
* Support SizeLongConvertor for K, M, G, T suffix sizes #859

* Support SizeLongConvertor for K, M, G, T suffix sizes #859

* Refactor for clarity. This assumes empty is the same as 0 or unset.

* Use NumberFormatException more explicitly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant