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

[Feature Request] Consider publicly exposing Base64UrlEncoder.Decode(ReadOnlySpan<char>, Span<byte>) #2608

Closed
paulomorgado opened this issue May 23, 2024 · 2 comments

Comments

@paulomorgado
Copy link

This can be extremely useful for decoding large payloads.

Base64UrlEncoder.Encode(ReadOnlySpan<byte>, Span<char>) is public but Base64UrlEncoder.Decode(ReadOnlySpan<char>, Span<byte>) is not.

Making Base64UrlEncoder.Decode(ReadOnlySpan<char>, Span<byte>) public would make the library more complete.

@keegan-caruso
Copy link
Contributor

Hello,

Base64URL support is targeting net9 for support in the runtime:

dotnet/runtime#1658

We would rather not add this method to the public API when it will be handled at the runtime level.

@keegan-caruso
Copy link
Contributor

Please open again if needed.

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