Skip to content

9.1.0

Choose a tag to compare

@FolkerKinzel FolkerKinzel released this 09 Nov 18:07
· 41 commits to master since this release
  • New methods of the UrlEncoding class:
string UrlEncoding.Encode(ReadOnlySpan<byte>);
string UrlEncoding.Encode(ReadOnlySpan<char>);
string UrlEncoding.Encode(string);

 

  • Polyfill for .NET 5.0, .NET Core 3.1, .NET Standard 2.1, .NET Standard 2.0, .NET Framework 4.6.1:
SpanLineEnumeratorPolyfill EnumerateLines(this ReadOnlySpan<char>);

 

  • Polyfills for .NET 6.0, .NET 5.0, .NET Core 3.1, .NET Standard 2.1, .NET Standard 2.0, .NET Framework 4.6.1:
int CommonPrefixLength(this ReadOnlySpan<char>, ReadOnlySpan<char>);
int CommonPrefixLength(this ReadOnlySpan<char>, ReadOnlySpan<char>, IEqualityComparer<char>?);
int CommonPrefixLength(this Span<char>, ReadOnlySpan<char>);
int CommonPrefixLength(this Span<char>, ReadOnlySpan<char>, IEqualityComparer<char>?);

 

  • Polyfills for .NET 7.0, .NET 6.0, .NET 5.0, .NET Core 3.1, .NET Standard 2.1, .NET Standard 2.0, .NET Framework 4.6.1:
int IndexOfAnyInRange(this ReadOnlySpan<char>, char, char);
int IndexOfAnyInRange(this Span<char>, char, char);
int IndexOfAnyExceptInRange(this ReadOnlySpan<char>, char, char);
int IndexOfAnyExceptInRange(this Span<char>, char, char);
int LastIndexOfAnyInRange(this ReadOnlySpan<char>, char, char);
int LastIndexOfAnyInRange(this Span<char>, char, char);
int LastIndexOfAnyExceptInRange(this ReadOnlySpan<char>, char, char);
int LastIndexOfAnyExceptInRange(this Span<char>, char, char);
bool ContainsAnyInRange(this ReadOnlySpan<char>, char, char);
bool ContainsAnyInRange(this Span<char>, char, char);

 

  • Polyfills for .NET Standard 2.0, .NET Framework 4.6.1:
int CommonPrefixLength(this ReadOnlySpan<char>, string?);
int CommonPrefixLength(this ReadOnlySpan<char>, string?, IEqualityComparer<char>?);
int CommonPrefixLength(this Span<char>, string?);
int CommonPrefixLength(this Span<char>, string?, IEqualityComparer<char>?);

 

Project reference: On some systems, the content of the CHM file in the Assets is blocked. Before opening the file right click on the file icon, select Properties, and check the "Allow" checkbox - if it is present - in the lower right corner of the General tab in the Properties dialog.