Cysharp/MessagePack-CSharp

Public

The extremely fast MessagePack serializer for C#. / msgpack.org[C#]

  • Stars6.8k+23 tuần này
  • Forks784
  • Watchers144
  • Issues35
  • Ngày tạo13/02/2017
  • Cập nhật gần nhất05/12/2026
  • Ngôn ngữC#
  • Giấy phép—
README.md211.3 KBRaw

MessagePack for C# (.NET Framework, .NET 8, Unity, Xamarin)

NuGet NuGet Releases

Join the chat at https://gitter.im/MessagePack-CSharp/Lobby Build Status

Important

This README is for v3.x (current stable). v4.0.0-preview.1 is now available: more than twice the performance, stronger safety, and full Native AOT support, while staying feature- and wire-compatible with v3. Check out the v4 README and join the preview.

The extremely fast MessagePack serializer for C#. It is 10x faster than MsgPack-Cli and outperforms other C# serializers. MessagePack for C# also ships with built-in support for LZ4 compression - an extremely fast compression algorithm. Performance is important, particularly in applications like games, distributed computing, microservices, or data caches.

Perf comparison graph

MessagePack has a compact binary size and a full set of general purpose expressive data types. Please have a look at the comparison with JSON, protobuf, ZeroFormatter section and learn why MessagePack C# is the fastest.

Table of Contents

Nội dung README thuộc về Cysharp và cộng đồng đóng góp, giấy phép Không có giấy phép. Nguồn: github.com/Cysharp/MessagePack-CSharp