Skip to content

Add .net 11 base64, utf8/utf16 validation and uri.uri scheme data polyfills#557

Merged
SimonCropp merged 2 commits into
mainfrom
Add-.NET-11-Base64,-Utf8/Utf16-validation-and-Uri.UriSchemeData-polyfills
Jun 10, 2026
Merged

Add .net 11 base64, utf8/utf16 validation and uri.uri scheme data polyfills#557
SimonCropp merged 2 commits into
mainfrom
Add-.NET-11-Base64,-Utf8/Utf16-validation-and-Uri.UriSchemeData-polyfills

Conversation

@SimonCropp

Copy link
Copy Markdown
Owner

No description provided.

…ills

- Base64: EncodeToChars/EncodeToString/EncodeToUtf8 and
  DecodeFromChars/DecodeFromUtf8 (+ Try variants, GetEncodedLength,
  GetMaxDecodedLength) via extension(Base64)
- Utf16: recreated type with IsValid and IndexOfInvalidSubsequence
- Utf8.IndexOfInvalidSubsequence via extension(Utf8)
- Uri.UriSchemeData
Base64/Utf8 extensions gate !RefsBclMemory (the type also lives in
Microsoft.Bcl.Memory); Utf16 is recreated everywhere FeatureMemory is
available. Adds tests, Consume usage, and regenerated Split + api_list.
@SimonCropp SimonCropp added this to the 10.9.0 milestone Jun 10, 2026
@SimonCropp SimonCropp merged commit 05ebd2a into main Jun 10, 2026
5 of 6 checks passed
@SimonCropp SimonCropp deleted the Add-.NET-11-Base64,-Utf8/Utf16-validation-and-Uri.UriSchemeData-polyfills branch June 10, 2026 13:19
This was referenced Jun 15, 2026
This was referenced Jun 15, 2026
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

Successfully merging this pull request may close these issues.

1 participant