-
Notifications
You must be signed in to change notification settings - Fork 16
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
bits support #1
Comments
What kind of support do you would like for bits? Have you any API proposal? |
Same kind of conversion apis. |
@gabrielelana Maybe he meant using bits as just another unit. Example: <?php
echo ByteUnits\Binary::bytes(1)->format('b'); // returns 8b But that would break the principle of case-insensitivity. |
@Cysioland I see, well... nice 😄 |
@gabrielelana Do you have any idea, how to resolve that case insensitivity problem? Or we just say: "Screw it, bits are special case"? |
@Cysioland "B" for byte and "b" for bit, I don't have any problem with that, "B" and "b" are two different symbols so they could mean two different things, Case insensitivity is an abomination 😄 |
What about supporting bits?
The text was updated successfully, but these errors were encountered: