You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Provides extension methods for the <see cref="System.Text.Encoding"/> class to enhance its functionality.
8
+
/// </summary>
9
+
staticclassEncodingExtensions{
10
+
/// <summary>
11
+
/// Decodes a sequence of bytes from the specified <see cref="ReadOnlyMemory{T}"/> into a string using the provided <see cref="System.Text.Encoding"/>.
12
+
/// </summary>
13
+
/// <param name="encoding">The <see cref="System.Text.Encoding"/> to use for decoding the byte sequence.</param>
14
+
/// <param name="bytes">The byte sequence to decode, represented as a <see cref="ReadOnlyMemory{T}"/> of <see cref="Byte"/>.</param>
15
+
/// <returns>A <see cref="String"/> that contains the decoded characters from the byte sequence.</returns>
16
+
/// <exception cref="ArgumentNullException">Thrown if <paramref name="encoding"/> is <c>null</c>.</exception>
0 commit comments