Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

KonstantinRitt/qcbor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qcbor

CBOR for Qt

Usage

Clone

git submodule update --init

Include to your project

include(qcbor/qcbor.pri)

Packing

QList<int> list;
list << 1 << 2 << 3;
QByteArray array = CBOR::encode(QVariant::fromValue(list));

Unpacking:

QVariant unpacked = CBOR::decode(data);

Thread-safety

Both CBOR::encode and CBOR::decode are safe to be used from multiple threads.

About

CBOR for Qt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published