Base64.GetMaxDecodedFromUtf8Length(Int32) Método

Definição

Retorna o tamanho máximo (em bytes) do resultado caso seja necessário decodificar um texto codificado como base 64 sem a extensão de bytes com o tamanho especificado.Returns the maximum length (in bytes) of the result if you were to decode base-64 encoded text within a byte span with the specified length.

public:
 static int GetMaxDecodedFromUtf8Length(int length);
public static int GetMaxDecodedFromUtf8Length (int length);
static member GetMaxDecodedFromUtf8Length : int -> int
Public Shared Function GetMaxDecodedFromUtf8Length (length As Integer) As Integer

Parâmetros

length
Int32

O tamanho da extensão de bytes.The size of the byte span.

Retornos

Int32

O tamanho máximo (em bytes) do resultado.The maximum length (in bytes) of the result.

Exceções

length é menor que 0.length is less than 0.

Aplica-se a