DecodeFromUtf8()

Base64::DecodeFromUtf8(ReadOnlySpan<uint8_t>, Span<uint8_t>, int32_t&, int32_t&) method

Decodes UTF-8 encoded base-64 text into a span of bytes.

static OperationStatus System::Buffers::Text::Base64::DecodeFromUtf8(ReadOnlySpan<uint8_t> source, Span<uint8_t> destination, int32_t &consumed, int32_t &written)

Arguments

ParameterTypeDescription
sourceReadOnlySpan<uint8_t>The span of UTF-8 base-64 text to decode.
destinationSpan<uint8_t>The destination span for the decoded bytes.
consumedint32_t&The number of source bytes consumed.
writtenint32_t&The number of bytes written to the destination.

Return Value

The status of the operation.

See Also