Fix performance regression

Follow up #19417.
PR #19652.
This commit is contained in:
Chocobo1 2023-09-28 01:26:57 +08:00 committed by GitHub
parent 46c1c9de65
commit 529e49aea7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 5 deletions

View file

@ -39,6 +39,7 @@ namespace Utils::ByteArray
{
// Mimic QStringView(in).split(sep, behavior)
QList<QByteArrayView> splitToViews(QByteArrayView in, QByteArrayView sep, Qt::SplitBehavior behavior = Qt::KeepEmptyParts);
QByteArray asQByteArray(QByteArrayView view);
QByteArray toBase32(const QByteArray &in);
}