System::Buffers::Text::Base64::GetMaxEncodedToUtf8Length method

Base64::GetMaxEncodedToUtf8Length 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)
ParameterTypeDescription
lengthint32_tThe number of bytes to encode.

ReturnValue

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

See Also