WebEncoders.GetArraySizeRequiredToEncode(Int32) 方法

定义

使用 Base64UrlEncode(Byte[], Int32, Char[], Int32, Int32) 方法获取编码Bytecount 所需的最小输出char[]大小。

public:
 static int GetArraySizeRequiredToEncode(int count);
public static int GetArraySizeRequiredToEncode (int count);
static member GetArraySizeRequiredToEncode : int -> int
Public Shared Function GetArraySizeRequiredToEncode (count As Integer) As Integer

参数

count
Int32

要编码的字符的数目。

返回

编码countByte所需的最小输出char[]大小。

适用于