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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for