共用方式為


Base64Url.GetMaxDecodedLength(Int32) 方法

定義

如果您要從大小範圍譯碼基底 64 編碼的文字,則傳回結果的最大長度(以位元組為單位),base64Length

public:
 static int GetMaxDecodedLength(int base64Length);
public static int GetMaxDecodedLength(int base64Length);
static member GetMaxDecodedLength : int -> int
Public Shared Function GetMaxDecodedLength (base64Length As Integer) As Integer

參數

base64Length
Int32

輸入範圍的大小。

傳回

譯碼結果的最大長度(以位元組為單位)。

例外狀況

指定的 base64Length 小於 0。

適用於