-
Notifications
You must be signed in to change notification settings - Fork 58
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
Base64/58/32/16 omitPadding options #186
Comments
The toBase32 method already provides a workaround for this. If you set Alphabet.pad to '\0' it will not apply any padding. Maybe the other toBaseX methods should support this too? |
Ahh, thanks for this note, that simplifies the refactoring I was doing. |
LGTM but I'm not a maintainer of this project. Just did the base32 impl. |
This can be closed, no? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current toBase* methods all pad. Guava has a
omitPadding()
option that would be great to add toBase/fromBase helpers for.It also might not hurt to make an alias of toHex as toBase16 (and fromBase16 to fromHex)
Thanks!
The text was updated successfully, but these errors were encountered: