Utf8JsonReader.TryGetBytesFromBase64(Byte[]) Método
Definição
Tenta analisar o valor do token JSON atual da origem, decodifica a cadeia de caracteres JSON codificada em Base64 como uma matriz de bytes e retorna um valor que indica se a operação foi bem-sucedida.Tries to parse the current JSON token value from the source and decodes the Base64 encoded JSON string as a byte array and returns a value that indicates whether the operation succeeded.
public:
bool TryGetBytesFromBase64([Runtime::InteropServices::Out] cli::array <System::Byte> ^ % value);
public bool TryGetBytesFromBase64 (out byte[]? value);
public bool TryGetBytesFromBase64 (out byte[] value);
member this.TryGetBytesFromBase64 : Byte[] -> bool
Public Function TryGetBytesFromBase64 (ByRef value As Byte()) As Boolean
Parâmetros
- value
- Byte[]
Quando é retornado, esse método contém a representação binária decodificada do texto Base64.When this method returns, contains the decoded binary representation of the Base64 text.
Retornos
true se o valor do token inteiro for codificado como um texto Base64 válido e puder ser decodificado para bytes com êxito; caso contrário, false.true if the entire token value is encoded as valid Base64 text and can be successfully decoded to bytes; otherwise, false.