You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your request makes sense for me. In terms of implementation, we will be able to keep the unit as a kind of Enum and use the Enum type to represent the original input unit. But, it will cause the different behavior of the current library. So, let me think about more if there is a better option.
I hope it won't affect the ByteSize representation (I think it should be a lightweight wrapper around usize). However, a new wrapper, ByteSizeWithUnit, can be introduced to store `size' and the initial unit if it's useful.
However, simple use IEC by default (#37) covers 99% of use cases, so an additional structure is redundant.
Expected Output:
Actual Output:
The text was updated successfully, but these errors were encountered: