System::Buffers::Text::Base64 class

Base64 class

Provides methods for converting between binary data and UTF-8 encoded text in base-64 format.

class Base64

Methods

MethodDescription
static DecodeFromUtf8(ReadOnlySpan<uint8_t>, Span<uint8_t>, int32_t&, int32_t&)Decodes UTF-8 encoded base-64 text into a span of bytes.
static DecodeFromUtf8InPlace(Span<uint8_t>, int32_t&)Decodes UTF-8 encoded base-64 text in place.
static EncodeToUtf8(ReadOnlySpan<uint8_t>, Span<uint8_t>, int32_t&, int32_t&)Encodes the span of bytes into UTF-8 encoded base-64 text.
static GetMaxDecodedFromUtf8Length(int32_t)Gets the maximum number of bytes produced by decoding the specified number of UTF-8 base-64 bytes.
static GetMaxEncodedToUtf8Length(int32_t)Gets the maximum number of UTF-8 bytes produced by encoding the specified number of bytes.

See Also