Base64

Base64 class

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

class Base64

Methods

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

See Also