Aspose::Cells::U16String::ToUtf8 method
U16String::ToUtf8(char*, int32_t) const method
Converts this to UTF8 string.
int32_t Aspose::Cells::U16String::ToUtf8(char *output, int32_t len) const
Parameter | Type | Description |
---|---|---|
output | char* | The output buffer. The output does not end with ‘\0’. |
len | int32_t | The length of output buffer. |
ReturnValue
The length of output buffer. If ToUtf8(nullptr, 0) is called, it returns the desired output buffer length.
See Also
- Class Vector
- Class U16String
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
U16String::ToUtf8() const method
Converts this to std::string in UTF8 format. The result does not end with ‘\0’.
std::string Aspose::Cells::U16String::ToUtf8() const
See Also
- Class U16String
- Namespace Aspose::Cells
- Library Aspose.Cells for C++