WebEncoders.GetArraySizeRequiredToEncode(Int32) Method

Definition

Get the minimum output char[] size required for encoding countBytes with the Base64UrlEncode(Byte[], Int32, Char[], Int32, Int32) method.

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

Parameters

count
Int32

The number of characters to encode.

Returns

The minimum output char[] size required for encoding countBytes.

Applies to