MsgPack
MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it's faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves.
Install
PackageManager:
Setup
Now that you have installed the package, you can register it into your favourite dependency injection framework:
Example using Microsoft.Extensions.DependencyInjection:
Example using Castle.Windsor:
The library used is MsgPack.Cli version 1.0.1. For more information about it, please take a look here https://github.com/msgpack/msgpack-cli
Last updated