Skip to content

Commit 05d5dd1

Browse files
Fix Base64.DecodeFromUtf8 docs
Fix copy-paste documentation from `Base64.EncodeToUtf8()`.
1 parent a7efcd9 commit 05d5dd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libraries/System.Private.CoreLib/src/System/Buffers/Text/Base64Decoder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public static partial class Base64
1818
/// <param name="bytes">The output span which contains the result of the operation, i.e. the decoded binary data.</param>
1919
/// <param name="bytesConsumed">The number of input bytes consumed during the operation. This can be used to slice the input for subsequent calls, if necessary.</param>
2020
/// <param name="bytesWritten">The number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary.</param>
21-
/// <param name="isFinalBlock"><see langword="true"/> (default) when the input span contains the entire data to encode.
22-
/// Set to <see langword="true"/> when the source buffer contains the entirety of the data to encode.
21+
/// <param name="isFinalBlock"><see langword="true"/> (default) when the input span contains the entire data to decode.
22+
/// Set to <see langword="true"/> when the source buffer contains the entirety of the data to decode.
2323
/// Set to <see langword="false"/> if this method is being called in a loop and if more input data may follow.
2424
/// At the end of the loop, call this (potentially with an empty source buffer) passing <see langword="true"/>.</param>
2525
/// <returns>It returns the OperationStatus enum values:

0 commit comments

Comments
 (0)