mirror of
https://github.com/romixlab/qmsgpack.git
synced 2026-02-09 00:25:42 +01:00
user type packing implemented
This commit is contained in:
@@ -26,3 +26,9 @@ QByteArray MsgPack::pack(const QVariant &variant)
|
||||
|
||||
return arr;
|
||||
}
|
||||
|
||||
|
||||
bool MsgPack::registerPacker(QMetaType::Type qType, qint8 msgpackType, MsgPack::pack_user_f packer)
|
||||
{
|
||||
return MsgPackPrivate::register_packer(qType, msgpackType, packer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user