forked from romixlab/qmsgpack
16 lines
333 B
C++
16 lines
333 B
C++
#ifndef MSGPACK_H
|
|
#define MSGPACK_H
|
|
#include <QByteArray>
|
|
#include <QVariantList>
|
|
#include "msgpack_common.h"
|
|
|
|
namespace MsgPack
|
|
{
|
|
QVariant unpack(const QByteArray &data);
|
|
|
|
QByteArray pack(const QVariant &variant);
|
|
bool registerPacker(QMetaType::Type qType, qint8 msgpackType, pack_user_f packer);
|
|
}
|
|
|
|
#endif // MSGPACK_H
|