Udostępnij za pośrednictwem


WebEncoders.GetArraySizeRequiredToEncode(Int32) Metoda

Definicja

Pobierz minimalny rozmiar danych wyjściowych char[] wymaganych do kodowania countBytes za pomocą Base64UrlEncode(Byte[], Int32, Char[], Int32, Int32) metody .

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

Parametry

count
Int32

Liczba znaków do kodowania.

Zwraca

Minimalny rozmiar danych wyjściowych char[] wymagany do kodowania countBytes.

Dotyczy