1/*
2 This file is part of the KDE Baloo project.
3 SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.1-or-later
6*/
7
8#ifndef BALOO_POSTINGCODEC_H
9#define BALOO_POSTINGCODEC_H
10
11#include <QByteArray>
12#include <QVector>
13
14namespace Baloo {
15
16class PostingCodec
17{
18public:
19 static QByteArray encode(const QVector<quint64>& list);
20 static QVector<quint64> decode(const QByteArray& arr);
21};
22
23}
24
25#endif // BALOO_POSTINGCODEC_H
26

source code of baloo/src/codecs/postingcodec.h