Utf8JsonReader.GetBytesFromBase64 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.
Parses the current JSON token value from the source and decodes the Base64 encoded JSON string as a byte array.
public:
cli::array <System::Byte> ^ GetBytesFromBase64();
public byte[] GetBytesFromBase64 ();
member this.GetBytesFromBase64 : unit -> byte[]
Public Function GetBytesFromBase64 () As Byte()
Returns
The byte array that represents the current JSON token value.
Exceptions
The type of the JSON token is not a String.
The value is not encoded as Base64 text, so it can't be decoded to bytes.
-or-
The value contains invalid or more than two padding characters.
-or-
The value is incomplete. That is, the JSON string length is not a multiple of 4.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om