WebEncoders.GetArraySizeRequiredToEncode(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the minimum output char[]
size required for encoding count
Bytes 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 count
Bytes.