-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Add Base64 parity APIs with Base64Url #123151
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
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
dcd23b7
Initial plan
Copilot 6f80421
Add Base64 parity APIs with Base64Url (EncodeToChars, DecodeFromChars…
Copilot 19da1ec
Add unit tests for Base64 Unicode APIs (EncodeToChars, DecodeFromChar…
Copilot cb6356e
Fix code review feedback: documentation wording and test variable names
Copilot b79f48f
Move Base64 parity APIs from Base64Extensions.cs to Base64Encoder.cs …
Copilot 24f0ec5
Add Debug.Assert statements for expected OperationStatus values in Tr…
Copilot b48e887
Remove all #if NET/#endif pairs from Base64Encoder.cs and Base64Decod…
Copilot 6130854
Address review feedback: fix tests, share decode helper, fix Debug.As…
Copilot b5d5410
Add new Base64 APIs to Base64Fuzzer for fuzz testing
Copilot 6edbe77
Share encoder char helpers between Base64Encoder and Base64UrlEncoder
Copilot dd50b8d
Share decoder char helper methods between Base64DecoderChar and Base6…
Copilot b1706cf
Move byte structs to match Base64Url structure and share char encoder…
Copilot 31d52b2
Fix .NET Framework build: wrap intrinsics in #if NET and reorder structs
Copilot 00e034a
Revert Base64Url/Helper files to fix .NET Framework build errors
Copilot a5ce48c
Fix build by implementing char encoder/decoder helpers inline
Copilot 1eab693
Remove duplicate Base64DecoderByte/EncoderByte from Decoder/Encoder f…
Copilot 4fef4d2
Avoid code duplication
MihaZupan 9533201
Use Base64.EncodeToChars in Convert.ToBase64CharsLargeNoLineBreaks
Copilot 8fd3ed6
Simplify Convert.cs by always using Base64.EncodeToChars for non-line…
Copilot df8a65a
Simplify Convert decoding methods by delegating to Base64.DecodeFromC…
Copilot ea9e6cc
Simplify Convert.cs encoding methods to delegate to Base64 APIs early
Copilot 36c3884
Restore whitespace-tolerant Convert decoding implementation
Copilot cf5dfea
Merge branch 'main' into copilot/add-base64-url-parity
MihaZupan 3464c7d
Simplify Convert decoding by delegating to Base64.DecodeFromChars wit…
Copilot 9dceef0
Fix review comments: add [Fact], set bytesWritten=0 on failure, simpl…
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.