語言

Base64.GetMaxDecodedFromUtf8Length(Int32) 方法

定義

若在指定長度的位元組區間內解碼 base-64 編碼文字,則回傳結果的最大長度(以位元組為單位)。

public:
 static int GetMaxDecodedFromUtf8Length(int length);
public static int GetMaxDecodedFromUtf8Length(int length);
static member GetMaxDecodedFromUtf8Length : int -> int
Public Shared Function GetMaxDecodedFromUtf8Length (length As Integer) As Integer

參數

length
Int32

位元組範圍的大小。

傳回

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

例外狀況

length 小於0。

適用於