![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qstringconverter_p.h>
Classes | |
struct | ValidUtf8Result |
Public Member Functions | |
template<typename OnErrorLambda> | |
Q_ALWAYS_INLINE char * | convertFromUnicode (char *out, QStringView in, OnErrorLambda &&onError) noexcept |
template<typename OnErrorLambda> | |
Q_ALWAYS_INLINE char16_t * | convertToUnicode (char16_t *dst, QByteArrayView in, OnErrorLambda &&onError) noexcept |
Definition at line 301 of file qstringconverter_p.h.
|
staticnoexcept |
Definition at line 1104 of file qstringconverter.cpp.
|
static |
Definition at line 1074 of file qstringconverter.cpp.
|
staticnoexcept |
Definition at line 1034 of file qstringconverter.cpp.
|
static |
Definition at line 783 of file qstringconverter.cpp.
|
staticnoexcept |
Definition at line 698 of file qstringconverter.cpp.
|
noexcept |
Definition at line 674 of file qstringconverter.cpp.
|
static |
Definition at line 726 of file qstringconverter.cpp.
|
static |
Definition at line 706 of file qstringconverter.cpp.
|
static |
Definition at line 718 of file qstringconverter.cpp.
|
staticnoexcept |
Converts the UTF-8 sequence of bytes viewed by in to a sequence of QChar starting at dst in the destination buffer. The buffer is expected to be large enough to hold the result. An upper bound for the size of the buffer is in.size()
QChars.
If, during decoding, an error occurs, a QChar::ReplacementCharacter is written.
Returns a pointer to one past the last QChar written.
This function never throws.
For QChar buffers, instead of casting manually, you can use the static QUtf8::convertToUnicode(QChar *, QByteArrayView) directly.
Definition at line 838 of file qstringconverter.cpp.
|
noexcept |
Definition at line 853 of file qstringconverter.cpp.
|
static |
Definition at line 898 of file qstringconverter.cpp.
|
static |
Definition at line 798 of file qstringconverter.cpp.
|
static |
Definition at line 880 of file qstringconverter.cpp.
|
inlinestaticnoexcept |
Definition at line 303 of file qstringconverter_p.h.
|
inlinestatic |
Definition at line 314 of file qstringconverter_p.h.
|
static |
Definition at line 1003 of file qstringconverter.cpp.