KItinerary
bytearray.cpp
Q_INVOKABLE QJSValue inflate(const QByteArray &input) const
Perform zlib decompression on the given byte array.
Definition bytearray.cpp:20
Q_INVOKABLE QJSValue fromBase64(const QString &b64) const
Converts a given Base64 encoded string to a JS ArrayBuffer.
Definition bytearray.cpp:53
Q_INVOKABLE QString decodeLatin1(const QByteArray &input) const
Convert a QByteArray/ArrayBuffer to a string, assuming Latin1 encoding.
Definition bytearray.cpp:65
Q_INVOKABLE QJSValue toArrayBuffer(const QByteArray &input) const
Convert a QByteArray to a JS ArrayBuffer.
Definition bytearray.cpp:87
Q_INVOKABLE QJSValue decodeRsp6Ticket(const QString &text) const
Decode/decrypt a UK RSP-6 ticket barcode.
Definition bytearray.cpp:82
Q_INVOKABLE QString toBase64(const QByteArray &input) const
Converts the given QByteArray or JS ArrayBuffer into an base64 encoded string.
Definition bytearray.cpp:48
Q_INVOKABLE QVariant toProtobufStreamReader(const QByteArray &input) const
Creates a Protocol Buffers stream reader for the given JS ArrayBuffer.
Definition bytearray.cpp:77
Q_INVOKABLE QString decodeUtf8(const QByteArray &input) const
Convert a QByteArray/ArrayBuffer to a string, assuming UTF-8 encoding.
Definition bytearray.cpp:58
Q_INVOKABLE QVariant toBitArray(const QByteArray &input) const
Converts the given QByteArray or JS ArrayBuffer into a BitArray.
Definition bytearray.cpp:72
static QByteArray decode(const QByteArray &data)
Decodes base26 transport encoding and decrypts the ticket payload.
Definition rsp6decoder.cpp:73
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
const char * constData() const const
char * data()
QByteArray fromBase64(const QByteArray &base64, Base64Options options)
qsizetype indexOf(QByteArrayView bv, qsizetype from) const const
void resize(qsizetype newSize, char c)
qsizetype size() const const
QByteArray toBase64(Base64Options options) const const
void truncate(qsizetype pos)
QString fromLatin1(QByteArrayView str)
QString fromUtf8(QByteArrayView str)
QByteArray toLatin1() const const
QByteArray toUtf8() const const
QVariant fromValue(T &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.