GetMaxEncodedToUtf8Length()

Base64::GetMaxEncodedToUtf8Length(int32_t) method

Gets the maximum number of UTF-8 bytes produced by encoding the specified number of bytes.

static int32_t System::Buffers::Text::Base64::GetMaxEncodedToUtf8Length(int32_t length)

Arguments

ParameterTypeDescription
lengthint32_tThe number of bytes to encode.

Return Value

The maximum number of UTF-8 bytes produced by encoding.

See Also