qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
Go to the documentation of this file.
31 explicit ToxString(
const QByteArray& text);
32 ToxString(
const uint8_t* text,
size_t length);
34 const uint8_t*
data()
const;
QString getQString() const
Gets the string as QString.
QByteArray getBytes() const
getBytes Gets the bytes of the string.
Helper to convert safely between strings in the c-toxcore representation and QString.
size_t size() const
Get the number of bytes in the string.
ToxString(const QString &text)
Creates a ToxString from a QString.
const uint8_t * data() const
Returns a pointer to the beginning of the string data.