The QByteArray class provides an array of bytes.
size_t qstrlen(const char *str)
static bool setCurrent(const QString &path)
The QFile class provides an interface for reading from and writing to files.
bool open(OpenMode flags) override
void setFileName(const QString &name)
qint64 write(const char *data, qint64 len)
The QString class provides a Unicode character string.
QString myDecoderFunc(const QByteArray &localFileName)
[1]
void printError(const char *msg)
[2]
QByteArray myEncoderFunc(const QString &fileName)
[0]