From ff45e924c79c92ae0283e44bf8a5ca169823727f Mon Sep 17 00:00:00 2001 From: Martin Costello Date: Sat, 6 Jul 2024 11:31:26 +0100 Subject: [PATCH] Fix Base64.DecodeFromUtf8 docs Fix copy-paste documentation from `Base64.EncodeToUtf8()`. --- .../src/System/Buffers/Text/Base64Decoder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/Buffers/Text/Base64Decoder.cs b/src/libraries/System.Private.CoreLib/src/System/Buffers/Text/Base64Decoder.cs index dfd8a08063249e..c7277b40829b01 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Buffers/Text/Base64Decoder.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Buffers/Text/Base64Decoder.cs @@ -18,8 +18,8 @@ public static partial class Base64 /// The output span which contains the result of the operation, i.e. the decoded binary data. /// The number of input bytes consumed during the operation. This can be used to slice the input for subsequent calls, if necessary. /// The number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary. - /// (default) when the input span contains the entire data to encode. - /// Set to when the source buffer contains the entirety of the data to encode. + /// (default) when the input span contains the entire data to decode. + /// Set to when the source buffer contains the entirety of the data to decode. /// Set to if this method is being called in a loop and if more input data may follow. /// At the end of the loop, call this (potentially with an empty source buffer) passing . /// It returns the OperationStatus enum values: