资 源 简 介
msgpackalt is a simple, fast and lite binary serialisation library for C and C++. It implements the Message Pack protocol (http://msgpack.org/) in optimised pure standard-C for speed and portability with minimal overhead, and encoded streams are binary compatible with other implementations.
The Message Pack protocol itself works by interleaving the binary data you want to send with header bytes that specify its format, and therefore how to decode the stream. This produces an overhead of at most one byte per value for numeric types, and includes support for arrays, maps, strings and raw data.
Unlike other implementations, you need only include a single file in your project to use it! Includes out-of-the-box C++ support for both STL and Qt4.
See the Why page for an explanation of the rationale behind this implementation, and why you should consider usin