QStringConverter::FinalizeResultChar Struct

template <typename Char> struct QStringConverter::FinalizeResultChar

Holds the result of calling finalize() on QStringDecoder or QStringEncoder. More...

This struct was introduced in Qt 6.11.

Public Variables

QStringConverter::FinalizeResultChar<Char>::Error error
qint16 invalidChars
Char *next

Detailed Description

This class is used to relay the result of the finalize() call or the reason why the call did not succeed.

Member Variable Documentation

QStringConverter::FinalizeResultChar<Char>::Error FinalizeResultChar::error

Relays errors discovered during finalization.

qint16 FinalizeResultChar::invalidChars

The number of invalid characters that were previously counted in the state as well as any that were encountered during the call to finalize().

Char *FinalizeResultChar::next

Points to the character position following the last-written character.

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.