System::String::FromUtf8 method

String::FromUtf8(const char *) method

Creates String from utf8 string.

static String System::String::FromUtf8(const char *utf8)
ParameterTypeDescription
utf8const char *Pointer to null-terminated string encoded using utf8 codepage.

ReturnValue

String object representing passed string.

See Also

String::FromUtf8(const char *, int) method

Creates String from utf8 string.

static String System::String::FromUtf8(const char *utf8, int len)
ParameterTypeDescription
utf8const char *Pointer to string encoded using utf8 codepage.
lenintNumber of characters to handle.

ReturnValue

String object representing passed string.

See Also

String::FromUtf8(const uint8_t *) method

Creates String from utf8 string.

static String System::String::FromUtf8(const uint8_t *utf8)
ParameterTypeDescription
utf8const uint8_t *Pointer to null-terminated string encoded using utf8 codepage.

ReturnValue

String object representing passed string.

See Also

String::FromUtf8(const std::string&) method

Creates String from utf8 string.

static String System::String::FromUtf8(const std::string &utf8)
ParameterTypeDescription
utf8const std::string&Pointer to string encoded using utf8 codepage.

ReturnValue

String object representing passed string.

See Also