File indexing completed on 2024-04-21 03:51:38

0001 /*
0002     This file is part of the KDE Baloo project.
0003     SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.1-or-later
0006 */
0007 
0008 #ifndef BALOO_POSTINGCODEC_H
0009 #define BALOO_POSTINGCODEC_H
0010 
0011 #include <QByteArray>
0012 #include <QVector>
0013 
0014 namespace Baloo {
0015 
0016 class PostingCodec
0017 {
0018 public:
0019     static QByteArray encode(const QVector<quint64>& list);
0020     static QVector<quint64> decode(const QByteArray& arr);
0021 };
0022 
0023 }
0024 
0025 #endif // BALOO_POSTINGCODEC_H