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

Base64 #373

Open
qurbonzoda opened this issue Feb 20, 2024 · 2 comments
Open

Base64 #373

qurbonzoda opened this issue Feb 20, 2024 · 2 comments

Comments

@qurbonzoda
Copy link
Contributor

This issue is for discussion of the proposed API for Base64 encoding and decoding. The full text of the proposal is here.

The API is already available in Kotlin 1.8.20+ as @ExperimentalStdlibApi.

@mgroth0
Copy link

mgroth0 commented Feb 23, 2024

Reiterating my request for withoutPadding(). I am curious if this could be part of the first version. It would be helpful to those who want to migrate from java.util.Base64, since that has a withoutPadding() builder option.

If this isn't included in the first release, people might start writing their own withoutPadding functions. Not the end of the world, but it's just a crack for a bug to slip in.

@qurbonzoda
Copy link
Contributor Author

@mgroth0 We will definitely discuss all requests before stabilising Base64.
There is a chance that withoutPadding() will be there once it stabilises. And we will take this into account as well

If this isn't included in the first release, people might start writing their own withoutPadding functions. Not the end of the world, but it's just a crack for a bug to slip in.

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

2 participants