From 4dcdbb047b72639e9b2f2efe8b829b57bb73670d Mon Sep 17 00:00:00 2001 From: Buyaa Namnan Date: Mon, 14 Oct 2024 12:05:42 -0700 Subject: [PATCH] Clarify return values of Base64Url.Try* methods --- xml/System.Buffers.Text/Base64Url.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xml/System.Buffers.Text/Base64Url.xml b/xml/System.Buffers.Text/Base64Url.xml index c193b49f70a..1b615d68d71 100644 --- a/xml/System.Buffers.Text/Base64Url.xml +++ b/xml/System.Buffers.Text/Base64Url.xml @@ -705,7 +705,7 @@ When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized. Decodes the span of unicode ASCII chars represented as Base64Url into binary data. - if bytes decoded successfully, otherwise . + if bytes decoded successfully; if is too small. To be added. @@ -740,7 +740,7 @@ When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized. Decodes the span of UTF-8 encoded text represented as Base64Url into binary data. - if bytes decoded successfully, otherwise . + if bytes decoded successfully; if is too small. To be added. @@ -775,7 +775,7 @@ When this method returns, contains the number of chars written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized. Encodes the span of binary data into unicode ASCII chars represented as Base64Url. - if chars encoded successfully, otherwise . + if chars encoded successfully; if is too small. This implementation of the base64url encoding omits the optional padding characters. @@ -805,7 +805,7 @@ When this method returns, contains the number of chars written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized. Encodes the span of binary data into UTF-8 encoded chars represented as Base64Url. - if bytes encoded successfully, otherwise . + if bytes encoded successfully; if is too small. This implementation of the base64url encoding omits the optional padding characters. @@ -844,7 +844,7 @@ The encoded text output is larger than the binary data contained in the input (the operation inflates the data). - if bytes encoded successfully, otherwise . + if bytes encoded successfully; if is too small. This implementation of the base64url encoding omits the optional padding characters.