![]() |
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 315 of file qstringconverter_p.h.
|
staticnoexcept |
Definition at line 1098 of file qstringconverter.cpp.
|
static |
Definition at line 1076 of file qstringconverter.cpp.
|
staticnoexcept |
Definition at line 1043 of file qstringconverter.cpp.
|
static |
Definition at line 792 of file qstringconverter.cpp.
|
staticnoexcept |
Definition at line 707 of file qstringconverter.cpp.
|
noexcept |
Definition at line 683 of file qstringconverter.cpp.
|
static |
Definition at line 735 of file qstringconverter.cpp.
|
static |
Definition at line 715 of file qstringconverter.cpp.
|
static |
Definition at line 727 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 847 of file qstringconverter.cpp.
|
noexcept |
Definition at line 862 of file qstringconverter.cpp.
|
static |
Definition at line 907 of file qstringconverter.cpp.
|
static |
Definition at line 807 of file qstringconverter.cpp.
|
static |
Definition at line 889 of file qstringconverter.cpp.
|
inlinestaticnoexcept |
Definition at line 317 of file qstringconverter_p.h.
|
inlinestatic |
Definition at line 328 of file qstringconverter_p.h.
|
static |
Definition at line 1012 of file qstringconverter.cpp.