Fix some old copy-and-paste errors in QByteArrayView docs

Various texts copied from QByteArray were still talking about the byte
array, not the byte array view.

Change-Id: Ief46f6053641b7a19f8be7b20562f4b9ed66f6b3
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
bb10
Edward Welbourne 2021-08-11 17:47:34 +02:00
parent eafbda4191
commit bb04478dfc
1 changed files with 8 additions and 8 deletions

View File

@ -332,7 +332,7 @@
/*!
\fn const char *QByteArrayView::data() const
Returns a const \c char pointer to the first byte in the byte array.
Returns a const \c char pointer to the first byte in the byte array view.
\note The character array represented by the return value is \e not guaranteed
to be null-terminated. The returned pointer is only safe to use for accessing
@ -344,7 +344,7 @@
/*!
\fn const char *QByteArrayView::constData() const
Returns a const \c char pointer to the first byte in the byte array.
Returns a const \c char pointer to the first byte in the byte array view.
\note The character array represented by the return value is \e not guaranteed
to be null-terminated. The returned pointer is only safe to use for accessing
@ -369,7 +369,7 @@
\fn QByteArrayView::const_iterator QByteArrayView::begin() const
Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the
first byte in the byte array.
first byte in the byte array view.
This function is provided for STL compatibility.
@ -390,7 +390,7 @@
\fn QByteArrayView::const_iterator QByteArrayView::end() const
Returns a const \l{STL-style iterators}{STL-style iterator} pointing
just after the last byte in the byte array.
just after the last byte in the byte array view.
This function is provided for STL compatibility.
@ -410,7 +410,7 @@
\fn QByteArrayView::const_reverse_iterator QByteArrayView::rbegin() const
Returns a const \l{STL-style iterators}{STL-style} reverse iterator pointing
to the first byte in the byte array, in reverse order.
to the first byte in the byte array view, in reverse order.
This function is provided for STL compatibility.
@ -431,7 +431,7 @@
\fn QByteArrayView::const_reverse_iterator QByteArrayView::rend() const
Returns a \l{STL-style iterators}{STL-style} reverse iterator pointing to one past
the last byte in the byte array, in reverse order.
the last byte in the byte array view, in reverse order.
This function is provided for STL compatibility.
@ -513,7 +513,7 @@
/*!
\fn char QByteArrayView::front() const
Returns the first byte in the byte array.
Returns the first byte in the byte array view.
This function is provided for STL compatibility.
@ -526,7 +526,7 @@
/*!
\fn char QByteArrayView::back() const
Returns the last byte in the byte array.
Returns the last byte in the byte array view.
This function is provided for STL compatibility.