次の方法で共有


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 未満です。

適用対象