6 references to GetMaxDecodedLength
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgeryTokenSerializer.cs (1)
35
var maxTokenDecodedSize = Base64Url.
GetMaxDecodedLength
(serializedToken.Length);
Microsoft.AspNetCore.Components.Endpoints (1)
TempData\CookieTempDataProvider.cs (1)
61
var maxDecodedSize = Base64Url.
GetMaxDecodedLength
(serializedDataFromCookie.Length);
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Url\Base64UrlDecoder.cs (3)
165
int upperBound =
GetMaxDecodedLength
(source.Length);
263
int upperBound =
GetMaxDecodedLength
(source.Length);
367
public int GetMaxDecodedLength(int sourceLength) => Base64Url.
GetMaxDecodedLength
(sourceLength);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Url\Base64UrlEncoder.cs (1)
248
srcLength :
GetMaxDecodedLength
(destLength);