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。

适用于