![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtCore More...
#include <qbytearray.h>
Public Member Functions | |
| void | swap (QByteArray::FromBase64Result &other) noexcept |
| operator bool () const noexcept | |
| \variable QByteArray::FromBase64Result::decoded | |
| QByteArray & | operator* () noexcept |
| const QByteArray & | operator* () const noexcept |
| Returns the decoded byte array. | |
Public Attributes | |
| QByteArray | decoded |
| QByteArray::Base64DecodingStatus | decodingStatus |
Friends | |
| bool | operator== (const QByteArray::FromBase64Result &lhs, const QByteArray::FromBase64Result &rhs) noexcept |
Returns true if lhs and rhs are equal, otherwise returns false. | |
| bool | operator!= (const QByteArray::FromBase64Result &lhs, const QByteArray::FromBase64Result &rhs) noexcept |
Returns true if lhs and rhs are different, otherwise returns false. | |
\inmodule QtCore
The QByteArray::FromBase64Result class holds the result of a call to QByteArray::fromBase64Encoding.
Objects of this class can be used to check whether the conversion was successful, and if so, retrieve the decoded QByteArray. The conversion operators defined for QByteArray::FromBase64Result make its usage straightforward:
Alternatively, it is possible to access the conversion status and the decoded data directly:
Definition at line 784 of file qbytearray.h.
|
inlineexplicitnoexcept |
\variable QByteArray::FromBase64Result::decoded
Contains the decoded byte array.
\variable QByteArray::FromBase64Result::decodingStatus
Contains whether the decoding was successful, expressed as a value of type QByteArray::Base64DecodingStatus.
Returns whether the decoding was successful. This is equivalent to checking whether the {decodingStatus} member is equal to QByteArray::Base64DecodingStatus::Ok.
Definition at line 796 of file qbytearray.h.
|
inlinenoexcept |
Returns the decoded byte array.
Definition at line 804 of file qbytearray.h.
|
inlinenoexcept |
Definition at line 803 of file qbytearray.h.
|
inlinenoexcept |
Definition at line 790 of file qbytearray.h.
|
friend |
Returns true if lhs and rhs are different, otherwise returns false.
Definition at line 818 of file qbytearray.h.
|
friend |
Returns true if lhs and rhs are equal, otherwise returns false.
lhs and rhs are equal if and only if they contain the same decoding status and, if the status is QByteArray::Base64DecodingStatus::Ok, if and only if they contain the same decoded data.
Definition at line 807 of file qbytearray.h.
| QByteArray QByteArray::FromBase64Result::decoded |
Definition at line 787 of file qbytearray.h.
| QByteArray::Base64DecodingStatus QByteArray::FromBase64Result::decodingStatus |
Definition at line 788 of file qbytearray.h.