QCborStreamWriter: remove stale doc about 2 GB size limits

Those applied to Qt 5's int-based size types.

Pick-to: 6.8 6.5
Change-Id: Id8436bae9c641e33770bfffdd55bb1b883863a7c
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit e62407b429f4dc5d900e77a26410f87f56c7d5cd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Thiago Macieira 2025-02-13 08:14:30 -08:00 committed by Qt Cherry-pick Bot
parent 3fd08e19d4
commit 16b8fc51fe

View File

@ -587,11 +587,6 @@ void QCborStreamWriter::append(double d)
CBOR Byte String value. QCborStreamWriter will attempt to write the entire CBOR Byte String value. QCborStreamWriter will attempt to write the entire
string in one chunk. string in one chunk.
Unlike the QByteArray overload of append(), this function is not limited by
QByteArray's size limits. However, note that neither
QCborStreamReader::readByteArray() nor QCborValue support reading CBOR
streams with byte arrays larger than 2 GB.
\sa append(), appendTextString(), \sa append(), appendTextString(),
QCborStreamReader::isByteArray(), QCborStreamReader::readByteArray() QCborStreamReader::isByteArray(), QCborStreamReader::readByteArray()
*/ */
@ -608,10 +603,6 @@ void QCborStreamWriter::appendByteString(const char *data, qsizetype len)
The string pointed to by \a utf8 is expected to be properly encoded UTF-8. The string pointed to by \a utf8 is expected to be properly encoded UTF-8.
QCborStreamWriter performs no validation that this is the case. QCborStreamWriter performs no validation that this is the case.
Unlike the QLatin1StringView overload of append(), this function is not limited
to 2 GB. However, note that neither QCborStreamReader::readString() nor
QCborValue support reading CBOR streams with text strings larger than 2 GB.
\sa append(QLatin1StringView), append(QStringView), \sa append(QLatin1StringView), append(QStringView),
QCborStreamReader::isString(), QCborStreamReader::readString() QCborStreamReader::isString(), QCborStreamReader::readString()
*/ */
@ -632,10 +623,6 @@ void QCborStreamWriter::appendTextString(const char *utf8, qsizetype len)
The string pointed to by \a str is expected to be properly encoded UTF-8. The string pointed to by \a str is expected to be properly encoded UTF-8.
QCborStreamWriter performs no validation that this is the case. QCborStreamWriter performs no validation that this is the case.
Unlike the QLatin1StringView overload of append(), this function is not limited
to 2 GB. However, note that neither QCborStreamReader nor QCborValue support
reading CBOR streams with text strings larger than 2 GB.
\sa append(QLatin1StringView), append(QStringView), \sa append(QLatin1StringView), append(QStringView),
QCborStreamReader::isString(), QCborStreamReader::readString() QCborStreamReader::isString(), QCborStreamReader::readString()
*/ */