QByteArray ByteArrayPrototype::right(int len) const { return thisByteArray()->right(len); }
QByteArray ByteArrayPrototype::simplified() const { return thisByteArray()->simplified(); }
//! [1] QByteArray ByteArrayPrototype::mid(int pos, int len) const { return thisByteArray()->mid(pos, len); }
QScriptValue ByteArrayPrototype::remove(int pos, int len) { thisByteArray()->remove(pos, len); return thisObject(); }
bool ByteArrayPrototype::equals(const QByteArray &other) { return *thisByteArray() == other; }
QByteArray ByteArrayPrototype::left(int len) const { return thisByteArray()->left(len); }
QString ByteArrayPrototype::toLatin1String() const { return QString::fromLatin1(*thisByteArray()); }
void ByteArrayPrototype::chop(int n) { thisByteArray()->chop(n); }
void ByteArrayPrototype::truncate(int pos) { thisByteArray()->truncate(pos); }
QByteArray ByteArrayPrototype::trimmed() const { return thisByteArray()->trimmed(); }
QByteArray ByteArrayPrototype::toUpper() const { return thisByteArray()->toUpper(); }
QByteArray ByteArrayPrototype::toBase64() const { return thisByteArray()->toBase64(); }
QString ByteArrayPrototype::toUtf8() const { return QString::fromUtf8(*thisByteArray()); }